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:
Stefan Csomor
2006-11-04 07:50:06 +00:00
parent fd7915711f
commit ad66794547
9 changed files with 29 additions and 39 deletions

View File

@@ -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;