KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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 () noexcept(false)
 
bool IsDrawing () const
 

Protected Attributes

GAL * m_gal
 
int m_cookie
 

Private Attributes

bool m_drawing
 

Detailed Description

Definition at line 1384 of file graphics_abstraction_layer.h.

Constructor & Destructor Documentation

◆ GAL_DRAWING_CONTEXT()

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

◆ ~GAL_DRAWING_CONTEXT()

KIGFX::GAL_DRAWING_CONTEXT::~GAL_DRAWING_CONTEXT ( )
inline

Definition at line 1395 of file graphics_abstraction_layer.h.

References m_drawing, and KIGFX::GAL_CONTEXT_LOCKER::m_gal.

Member Function Documentation

◆ IsDrawing()

bool KIGFX::GAL_DRAWING_CONTEXT::IsDrawing ( ) const
inline
Returns
False if the context could not be made current, so no drawing was started.

Definition at line 1402 of file graphics_abstraction_layer.h.

References m_drawing.

Referenced by EDA_DRAW_PANEL_GAL::DoRePaint().

Member Data Documentation

◆ m_cookie

int KIGFX::GAL_CONTEXT_LOCKER::m_cookie
protectedinherited

Definition at line 1352 of file graphics_abstraction_layer.h.

Referenced by GAL_CONTEXT_LOCKER(), and ~GAL_CONTEXT_LOCKER().

◆ m_drawing

bool KIGFX::GAL_DRAWING_CONTEXT::m_drawing
private

◆ m_gal


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