moved splines rendering code into wxDCBase

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-03-13 23:38:57 +00:00
parent 99b02ec0d8
commit fe2e43661e
15 changed files with 168 additions and 1338 deletions

View File

@@ -654,7 +654,7 @@ protected:
wxFont *theFont = NULL) const = 0;
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points) = 0;
virtual void DoDrawSpline(wxList *points);
#endif
protected:

View File

@@ -100,10 +100,6 @@ public:
virtual void DestroyClippingRegion();
virtual void DoSetClippingRegionAsRegion( const wxRegion &region );
#if wxUSE_SPLINES
virtual void DoDrawSpline( wxList *points );
#endif
// Resolution in pixels per logical inch
virtual wxSize GetPPI() const;
virtual int GetDepth() const;

View File

@@ -100,10 +100,6 @@ public:
virtual void DestroyClippingRegion();
virtual void DoSetClippingRegionAsRegion( const wxRegion &region );
#if wxUSE_SPLINES
virtual void DoDrawSpline( wxList *points );
#endif
// Resolution in pixels per logical inch
virtual wxSize GetPPI() const;
virtual int GetDepth() const;

View File

@@ -416,9 +416,6 @@ protected:
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points);
#endif // wxUSE_SPLINES
//

View File

@@ -129,10 +129,6 @@ protected:
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points);
#endif // wxUSE_SPLINES
WXGC m_gc;
WXGC m_gcBacking;
WXDisplay* m_display;

View File

@@ -197,9 +197,6 @@ protected:
wxCoord xoffset, wxCoord yoffset,
int fillStyle = wxODDEVEN_RULE);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList *points);
#endif // wxUSE_SPLINES
// common part of DoDrawText() and DoDrawRotatedText()
void DrawAnyText(const wxString& text, wxCoord x, wxCoord y);

View File

@@ -287,9 +287,6 @@ protected:
,int nFillStyle = wxODDEVEN_RULE
);
#if wxUSE_SPLINES
virtual void DoDrawSpline(wxList* pPoints);
#endif // wxUSE_SPLINES
//
// common part of DoDrawText() and DoDrawRotatedText()