Override SetLogicalOrigin and SetDeviceOrigin in GNOME
print DC as this will probably be needed to fix the printing bug reported recently. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -262,6 +262,9 @@ public:
|
||||
wxSize GetPPI() const;
|
||||
void SetAxisOrientation( bool xLeftRight, bool yBottomUp );
|
||||
|
||||
void SetLogicalOrigin( wxCoord x, wxCoord y );
|
||||
void SetDeviceOrigin( wxCoord x, wxCoord y );
|
||||
|
||||
virtual int GetDepth() const { return 24; }
|
||||
|
||||
void SetBackgroundMode(int WXUNUSED(mode)) { }
|
||||
|
@@ -1828,6 +1828,16 @@ void wxGnomePrintDC::SetAxisOrientation( bool xLeftRight, bool yBottomUp )
|
||||
ComputeScaleAndOrigin();
|
||||
}
|
||||
|
||||
void wxGnomePrintDC::SetLogicalOrigin( wxCoord x, wxCoord y )
|
||||
{
|
||||
wxDC::SetLogicalOrigin( x, y );
|
||||
}
|
||||
|
||||
void wxGnomePrintDC::SetDeviceOrigin( wxCoord x, wxCoord y )
|
||||
{
|
||||
wxDC::SetDeviceOrigin( x, y );
|
||||
}
|
||||
|
||||
void wxGnomePrintDC::SetResolution(int ppi)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user