Relocate DeviceToLogical[XY], add stub for LogicalToDevice[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -145,6 +145,27 @@ void wxDC::DoDrawText(const wxString& text, wxCoord x, wxCoord y)
|
||||
[context restoreGraphicsState];
|
||||
}
|
||||
|
||||
// wxDCBase functions
|
||||
int wxDCBase::DeviceToLogicalX(int x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
int wxDCBase::DeviceToLogicalY(int y) const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
int wxDCBase::LogicalToDeviceX(int x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
int wxDCBase::LogicalToDeviceY(int y) const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// cut here, the rest is stubs
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -394,13 +415,3 @@ void wxDC::ComputeScaleAndOrigin(void)
|
||||
}
|
||||
};
|
||||
|
||||
int wxDCBase::DeviceToLogicalX(int x) const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
int wxDCBase::DeviceToLogicalY(int y) const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user