m_signX = 1; // default x-axis left to right
m_signY = -1; // default y-axis bottom up -> top down
-
+
GetSize( NULL, &m_deviceOffsetY );
}
m_currentGreen = 0;
m_signX = 1; // default x-axis left to right
- m_signY = -1; // default y-axis bottom up -> top down
-
+ m_signY = -1; // default y-axis bottom up -> top down
+
GetSize( NULL, &m_deviceOffsetY );
}
void wxGnomePrintDC::DoGetTextExtent(const wxString& string, wxCoord *width, wxCoord *height,
wxCoord *descent,
wxCoord *externalLeading,
- wxFont *theFont ) const
+ const wxFont *theFont ) const
{
if ( width )
*width = 0;
m_previewPrintout->SetPPIPrinter(wxGnomePrintDC::GetResolution(), wxGnomePrintDC::GetResolution());
wxSize sizeDevUnits(paper->GetSizeDeviceUnits());
-
+
// TODO: get better resolution information from wxGnomePrintDC, if possible.
sizeDevUnits.x = (wxCoord)((float)sizeDevUnits.x * wxGnomePrintDC::GetResolution() / 72.0);