X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19edb09cd9448dc612608df48809683e292f0c06..84006e65e80116a91514523b9d15344d4bbcbf4a:/include/wx/dc.h diff --git a/include/wx/dc.h b/include/wx/dc.h index 9ace93ce83..e8cb0ab716 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -12,10 +12,6 @@ #ifndef _WX_DC_H_BASE_ #define _WX_DC_H_BASE_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "dcbase.h" -#endif - // ---------------------------------------------------------------------------- // headers which we must include here // ---------------------------------------------------------------------------- @@ -97,7 +93,7 @@ protected: // global variables // --------------------------------------------------------------------------- -WXDLLEXPORT_DATA(extern int) wxPageNumber; +extern WXDLLEXPORT_DATA(int) wxPageNumber; // --------------------------------------------------------------------------- // wxDC is the device context - object on which any drawing is done @@ -348,7 +344,7 @@ public: * \param angle Rotating angle (counterclockwise, start at 3 o'clock, 360 is full circle). * \param center Center of rotation. */ - void Rotate( wxList* points, double angle, wxPoint center = wxPoint() ); + void Rotate( wxList* points, double angle, wxPoint center = wxPoint(0,0) ); // used by DrawEllipticArcRot // Careful: wxList gets filled with points you have to delete later. @@ -530,6 +526,8 @@ public: { wxCoord x, y; DoGetDeviceOrigin(&x, &y); return wxPoint(x, y); } virtual void SetDeviceOrigin(wxCoord x, wxCoord y) = 0; + virtual void ComputeScaleAndOrigin() {} + virtual void SetAxisOrientation(bool xLeftRight, bool yBottomUp) = 0; int GetLogicalFunction() const { return m_logicalFunction; } @@ -629,6 +627,17 @@ public: if (h) *h = hh; } + // Reserved for future use + virtual void ReservedDCFunc1() {} + virtual void ReservedDCFunc2() {} + virtual void ReservedDCFunc3() {} + virtual void ReservedDCFunc4() {} + virtual void ReservedDCFunc5() {} + virtual void ReservedDCFunc6() {} + virtual void ReservedDCFunc7() {} + virtual void ReservedDCFunc8() {} + virtual void ReservedDCFunc9() {} + protected: // the pure virtual functions which should be implemented by wxDC virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col, @@ -789,7 +798,7 @@ private: // now include the declaration of wxDC class // ---------------------------------------------------------------------------- -#if defined(__PALMOS__) +#if defined(__WXPALMOS__) #include "wx/palmos/dc.h" #elif defined(__WXMSW__) #include "wx/msw/dc.h"