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 1223 of file graphics_abstraction_layer.h.

Constructor & Destructor Documentation

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

Definition at line 1226 of file graphics_abstraction_layer.h.

1226  :
1227  GAL_CONTEXT_LOCKER( aGal )
1228  {
1229  m_gal->beginDrawing();
1230  }
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 1232 of file graphics_abstraction_layer.h.

1233  {
1234  m_gal->endDrawing();
1235  }
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 1203 of file graphics_abstraction_layer.h.

GAL* KIGFX::GAL_CONTEXT_LOCKER::m_gal
protectedinherited

Definition at line 1202 of file graphics_abstraction_layer.h.


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