adding measuring contexts, streamlining printing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -393,6 +393,9 @@ public:
|
||||
|
||||
static wxGraphicsContext* Create( wxWindow* window ) ;
|
||||
|
||||
// create a context that can be used for measuring texts only, no drawing allowed
|
||||
static wxGraphicsContext * Create();
|
||||
|
||||
wxGraphicsPath CreatePath() const;
|
||||
|
||||
virtual wxGraphicsPen CreatePen(const wxPen& pen) const;
|
||||
@@ -605,6 +608,9 @@ public :
|
||||
|
||||
virtual wxGraphicsContext * CreateContext( wxWindow* window ) = 0;
|
||||
|
||||
// create a context that can be used for measuring texts only, no drawing allowed
|
||||
virtual wxGraphicsContext * CreateMeasuringContext() = 0;
|
||||
|
||||
// Path
|
||||
|
||||
virtual wxGraphicsPath CreatePath() = 0;
|
||||
|
Reference in New Issue
Block a user