class wxMacPortStateHelper;
+#if !wxUSE_GRAPHICS_CONTEXT
+
class WXDLLEXPORT wxGraphicPath
{
public :
virtual void AddCircle( wxCoord x, wxCoord y, wxCoord r ) = 0;
// draws a an arc to two tangents connecting (current) to (x1,y1) and (x1,y1) to (x2,y2), also a straight line from (current) to (x1,y1)
- virtual void AddArcToPoint( wxCoord x1, wxCoord y1 , wxCoord x2, wxCoord y1, wxCoord r ) = 0 ;
+ virtual void AddArcToPoint( wxCoord x1, wxCoord y1 , wxCoord x2, wxCoord y2, wxCoord r ) = 0 ;
virtual void AddArc( wxCoord x, wxCoord y, wxCoord r, double startAngle, double endAngle, bool clockwise ) = 0 ;
}
#if wxMAC_USE_CORE_GRAPHICS
- wxGraphicContext* GetGraphicContext() { return m_graphicContext; }
+ wxGraphicsContext* GetGraphicsContext() { return m_graphicContext; }
#else
WXHRGN MacGetCurrentClipRgn() { return m_macCurrentClipRgn; }
static void MacSetupBackgroundForCurrentPort(const wxBrush& background );
WXHDC m_macPort;
#if wxMAC_USE_CORE_GRAPHICS
- wxGraphicContext *m_graphicContext;
- wxPoint m_macLocalOriginInPort;
+ wxGraphicsContext *m_graphicContext;
#else
void MacInstallPen() const;
void MacInstallBrush() const;
#endif
};
+#endif
+
#endif // _WX_DC_H_