X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2070a4f314aacc31a34fcf176eb1406312c052ef..58cb01d1eb3d75298cc424ad6866fb5bec136fb6:/include/wx/graphics.h diff --git a/include/wx/graphics.h b/include/wx/graphics.h index e47ba09df8..6de106cdfc 100755 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -263,8 +263,12 @@ public: // draws a rounded rectangle virtual void DrawRoundedRectangle( wxDouble x, wxDouble y, wxDouble w, wxDouble h, wxDouble radius); - // wrappers using wxPoint2DDouble TODO + // wrappers using wxPoint2DDouble TODO + + // helper to determine if a 0.5 offset should be applied for the drawing operation + virtual bool ShouldOffset() const { return false; } + DECLARE_NO_COPY_CLASS(wxGraphicsContext) DECLARE_ABSTRACT_CLASS(wxGraphicsContext) };