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 );
50 virtual wxSize GetNativePixelSize()
const;
55 wxPoint GetNativePosition(
const wxPoint& aPoint )
const;
60 double GetScaleFactor()
const;
wxGLCanvas wrapper for HiDPI/Retina support.
KIGFX::VC_SETTINGS m_settings
< Current VIEW_CONTROLS settings.
void SetVcSettings(const KIGFX::VC_SETTINGS &aVcSettings)
Structure to keep VIEW_CONTROLS settings for easy store/restore operations.