Design Patterns
structural::adapter::TextShapeClassAdapter Class Reference

#include <text_shape_class_adapter.h>

Inheritance diagram for structural::adapter::TextShapeClassAdapter:
Collaboration diagram for structural::adapter::TextShapeClassAdapter:

Public Member Functions

 TextShapeClassAdapter (const std::string &text)
 
 TextShapeClassAdapter ()
 
virtual void BoundingBox (commons::Point< float > &bottom_left, commons::Point< float > &top_right) const override
 
virtual bool IsEmpty () const override
 
- Public Member Functions inherited from structural::adapter::TextView
 TextView ()
 
 TextView (const std::string &text)
 
virtual ~TextView () override
 
void Draw () override
 
void Resize () override
 
void GetOrigin (float &x, float &y) const
 
void SetOrigin (const float &x, const float &y)
 
void GetExtent (float &width, float &height) const
 
void SetExtent (const float &width, const float &height)
 
std::string content () const
 
void content (const std::string &text)
 
- Public Member Functions inherited from structural::adapter::VisualComponentInterface
virtual ~VisualComponentInterface ()
 
- Public Member Functions inherited from structural::adapter::ShapeInterface
virtual ~ShapeInterface ()
 

Constructor & Destructor Documentation

structural::adapter::TextShapeClassAdapter::TextShapeClassAdapter ( const std::string &  text)
explicit
structural::adapter::TextShapeClassAdapter::TextShapeClassAdapter ( )

Member Function Documentation

void structural::adapter::TextShapeClassAdapter::BoundingBox ( commons::Point< float > &  bottom_left,
commons::Point< float > &  top_right 
) const
overridevirtual

Implements structural::adapter::ShapeInterface.

Here is the call graph for this function:

bool structural::adapter::TextShapeClassAdapter::IsEmpty ( ) const
overridevirtual

Reimplemented from structural::adapter::TextView.

Here is the call graph for this function:


The documentation for this class was generated from the following files: