KiCad PCB EDA Suite
KIGFX::GAL_DRAWING_CONTEXT Class Reference

#include <graphics_abstraction_layer.h>

Inheritance diagram for KIGFX::GAL_DRAWING_CONTEXT:
KIGFX::GAL_CONTEXT_LOCKER

Public Member Functions

 GAL_DRAWING_CONTEXT (GAL *aGal)
 
 ~GAL_DRAWING_CONTEXT ()
 

Protected Attributes

GALm_gal
 
int m_cookie
 

Detailed Description

Definition at line 1216 of file graphics_abstraction_layer.h.

Constructor & Destructor Documentation

KIGFX::GAL_DRAWING_CONTEXT::GAL_DRAWING_CONTEXT ( GAL aGal)
inline

Definition at line 1219 of file graphics_abstraction_layer.h.

1219  :
1220  GAL_CONTEXT_LOCKER( aGal )
1221  {
1222  m_gal->beginDrawing();
1223  }
virtual void beginDrawing()
Begin the drawing, needs to be called for every new frame.
KIGFX::GAL_DRAWING_CONTEXT::~GAL_DRAWING_CONTEXT ( )
inline

Definition at line 1225 of file graphics_abstraction_layer.h.

1226  {
1227  m_gal->endDrawing();
1228  }
virtual void endDrawing()
End the drawing, needs to be called for every new frame.

Member Data Documentation

int KIGFX::GAL_CONTEXT_LOCKER::m_cookie
protectedinherited

Definition at line 1196 of file graphics_abstraction_layer.h.

GAL* KIGFX::GAL_CONTEXT_LOCKER::m_gal
protectedinherited

Definition at line 1195 of file graphics_abstraction_layer.h.


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