Refactor the code that decides if the 0.5 offset chousl be applied
into its own method git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
Reference in New Issue
Block a user