![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
#include <IDisplay.h>
Public Types | |
| enum | ChangeFlags { CF_TRANSFORM = 0x3f67360 , CF_COLORS , CF_SIZE , CF_EDIT_MODE , CS_CONSOLE } |
| Define possible display change flags. More... | |
Public Member Functions | |
| virtual IDisplay * | GetParentDisplayPtr () const =0 |
| Get parent object of this display. | |
| virtual const iview::CScreenTransform & | GetTransform () const =0 |
| Return a screen transformation. | |
| virtual i2d::CRect | GetBoundingBox () const =0 |
| Get bounding box of all object in this display. | |
| virtual i2d::CRect | GetClientRect () const =0 |
| Get bounding box of client area. | |
| virtual const IColorSchema & | GetColorSchema () const =0 |
| Get color schema. | |
| virtual void | OnAreaInvalidated (const i2d::CRect &prevArea, const i2d::CRect &newArea)=0 |
| Invalidate display area. | |
Public Member Functions inherited from iview::IShapeObserver | |
| virtual void | OnChangeShape (IShape *shapePtr)=0 |
| Invalidate a shape. | |
| virtual bool | DisconnectShape (IShape *shapePtr)=0 |
| Disconnect shape object from view. | |
Definition at line 23 of file IDisplay.h.
Define possible display change flags.
Definition at line 29 of file IDisplay.h.
|
pure virtual |
Get bounding box of all object in this display.
Implemented in iview::CViewBase, and iview::CViewLayer.
|
pure virtual |
Get bounding box of client area.
Implemented in iview::CViewLayer, and iview::CViewport.
Referenced by iview::CViewBase::SetBackgroundBufferValid().
|
pure virtual |
Get color schema.
Implemented in iview::CViewBase, and iview::CViewLayer.
|
pure virtual |
Get parent object of this display.
If this display is root, it returns nullptr.
Implemented in iview::CViewBase, and iview::CViewLayer.
|
pure virtual |
Return a screen transformation.
This transformation converts view units to screen units.
Implemented in iview::CViewBase, and iview::CViewLayer.
|
pure virtual |
Invalidate display area.
| prevArea | previous area used to display object. |
| newArea | new area used to display object. |
Implemented in iview::CViewBase, iview::CViewLayer, and iview::CViewport.
© Witold Gantzke and Kirill Lepskiy