The returned reference is to a @c wxStandardPathsBase class but you
can consider it to be equivalent to wxStandardPaths (which is documented).
*/
- virtual wxStandardPathsBase& GetStandardPaths();
+ virtual wxStandardPaths& GetStandardPaths();
/**
Returns the wxWidgets port ID used by the running program and eventually
character with the given index if it is != -1 and return the bounding
rectangle if required.
*/
- void DrawLabel(const wxString& text, const wxBitmap& image,
+ void DrawLabel(const wxString& text, const wxBitmap& bitmap,
const wxRect& rect,
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
int indexAccel = -1, wxRect* rectBounding = NULL);
void ResetTransformMatrix();
//@}
+
+
+ void SetLogicalScale(double x, double y);
+ void GetLogicalScale(double *x, double *y) const;
+ void SetLogicalOrigin(wxCoord x, wxCoord y);
+ void GetLogicalOrigin(wxCoord *x, wxCoord *y) const;
+ wxPoint GetLogicalOrigin() const;
+
};
The clipping region is automatically unset when this object is destroyed.
*/
- wxDCClipper(wxDC& dc, const wxRegion& r);
+ wxDCClipper(wxDC& dc, const wxRegion& region);
wxDCClipper(wxDC& dc, const wxRect& rect);
wxDCClipper(wxDC& dc, wxCoord x, wxCoord y, wxCoord w, wxCoord h);
//@}
class wxPostScriptDC : public wxDC
{
public:
+ wxPostScriptDC();
+
/**
Constructs a PostScript printer device context from a wxPrintData object.
*/
wxPostScriptDC(const wxPrintData& printData);
- /**
- Return resolution used in PostScript output.
-
- @see SetResolution()
- */
- virtual int GetResolution() const;
-
- /**
- Set resolution (in pixels per inch) that will be used in PostScript
- output. Default is 720ppi.
- */
- virtual wxRect GetPaperRect() const;
};