29 #ifndef __CLASS_PAINTER_H 30 #define __CLASS_PAINTER_H The Cairo implementation of the graphics abstraction layer.
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
PAINTER(GAL *aGal)
Initialize this object for painting on any of the polymorphic GRAPHICS_ABSTRACTION_LAYER* derivatives...
An abstract base class for deriving all objects that can be added to a VIEW.
GAL * m_gal
Instance of graphic abstraction layer that gives an interface to call commands used to draw (eg.
Contains all the knowledge about how to draw graphical object onto any particular output device.
virtual bool Draw(const VIEW_ITEM *aItem, int aLayer)=0
Takes an instance of VIEW_ITEM and passes it to a function that knows how to draw the item.
virtual RENDER_SETTINGS * GetSettings()=0
Return a pointer to current settings that are going to be used when drawing items.
Board layer functions and definitions.
void SetGAL(GAL *aGal)
Changes Graphics Abstraction Layer used for drawing items for a new one.
Abstract interface for drawing on a 2D-surface.