![]() |
KiCad PCB EDA Suite
|
Class BUFFERED_DC_HELPER fixes a bug on Windows when using buffered device context. More...
#include <kicad_device_context.h>
Public Member Functions | |
BUFFERED_DC_HELPER (wxBufferedDC *aDC) | |
virtual | ~BUFFERED_DC_HELPER () |
Private Attributes | |
wxBufferedDC * | m_dc |
Class BUFFERED_DC_HELPER fixes a bug on Windows when using buffered device context.
When using buffered device context drawing in Windows, the user scaling must be set to 1 and the logical offset must be set to zero before the bitmap blit operation occurs in the destructor of wxBufferdDC but after the normal drawing takes place.
Definition at line 68 of file kicad_device_context.h.
|
inline |
Definition at line 71 of file kicad_device_context.h.
|
inlinevirtual |
|
private |
Definition at line 84 of file kicad_device_context.h.
Referenced by ~BUFFERED_DC_HELPER().