29#ifndef __CLASS_PAINTER_H 
   30#define __CLASS_PAINTER_H 
Abstract interface for drawing on a 2D-surface.
 
GAL * m_gal
Instance of graphic abstraction layer that gives an interface to call commands used to draw (eg.
 
void SetGAL(GAL *aGal)
Changes Graphics Abstraction Layer used for drawing items for a new one.
 
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.
 
PAINTER(GAL *aGal)
Initialize this object for painting on any of the polymorphic GRAPHICS_ABSTRACTION_LAYER* derivatives...
 
Container for all the knowledge about how graphical objects are drawn on any output surface/device.
 
An abstract base class for deriving all objects that can be added to a VIEW.
 
The Cairo implementation of the graphics abstraction layer.