wxGraphicsContext::wxGraphicsContext(wxGraphicsRenderer* renderer) :
wxGraphicsObject(renderer),
m_antialias(wxANTIALIAS_DEFAULT),
- m_composition(wxCOMPOSITION_OVER)
+ m_composition(wxCOMPOSITION_OVER),
+ m_enableOffset(false)
{
}
{
}
+void wxGraphicsContext::EnableOffset(bool enable)
+{
+ m_enableOffset = enable;
+}
+
#if 0
void wxGraphicsContext::SetAlpha( wxDouble WXUNUSED(alpha) )
{
}
#endif
-void wxGraphicsContext::GetSize( wxDouble* width, wxDouble* height)
-{
- *width = 10000.0;
- *height = 10000.0;
-}
-
void wxGraphicsContext::GetDPI( wxDouble* dpiX, wxDouble* dpiY)
{
*dpiX = 72.0;