#ifdef __GNUG__
#pragma interface "dcbase.h"
+ #pragma implementation "dcbase.h"
#endif
// ----------------------------------------------------------------------------
if ( x ) *x = m_userScaleX;
if ( y ) *y = m_userScaleY;
}
+ void SetSystemScale(double x, double y)
+ { SetUserScale(x, y); }
virtual void SetUserScale(double x, double y) = 0;
- virtual void SetSystemScale(double x, double y) = 0;
-
virtual void GetLogicalScale(double *x, double *y)
{
if ( x ) *x = m_logicalScaleX;
virtual void DoSetClippingRegionAsRegion(const wxRegion& region) = 0;
virtual void DoSetClippingRegion(long x, long y,
long width, long height) = 0;
+
+ // FIXME are these functions really different?
virtual void DoGetClippingRegion(long *x, long *y,
- long *width, long *height) = 0;
+ long *w, long *h)
+ { DoGetClippingBox(x, y, w, h); }
virtual void DoGetClippingBox(long *x, long *y,
long *w, long *h) const
{
if ( y ) *y = m_deviceOriginY;
}
+#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points) = 0;
+#endif
protected:
// flags