27#ifndef HIDPI_GL_CANVAS_H 
   28#define HIDPI_GL_CANVAS_H 
   31#include <wx/glcanvas.h> 
   45                     const wxGLAttributes& aGLAttribs, wxWindowID aId = wxID_ANY,
 
   46                     const wxPoint& aPos = wxDefaultPosition, 
const wxSize& aSize = wxDefaultSize,
 
   47                     long aStyle = 0, 
const wxString& aName = wxGLCanvasName,
 
   48                     const wxPalette& aPalette = wxNullPalette );
 
 
HIDPI_GL_CANVAS(const KIGFX::VC_SETTINGS &aSettings, wxWindow *aParent, const wxGLAttributes &aGLAttribs, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxDefaultSize, long aStyle=0, const wxString &aName=wxGLCanvasName, const wxPalette &aPalette=wxNullPalette)
 
KIGFX::VC_SETTINGS m_settings
< Current VIEW_CONTROLS settings.
 
virtual wxSize GetNativePixelSize() const
 
void SetVcSettings(const KIGFX::VC_SETTINGS &aVcSettings)
 
wxPoint GetNativePosition(const wxPoint &aPoint) const
Convert the given point from client coordinates to native pixel coordinates.
 
double GetScaleFactor() const
Get the current scale factor.
 
Structure to keep VIEW_CONTROLS settings for easy store/restore operations.