- // Without device translation, for backing pixmap purposes
- wxCoord XLOG2DEV_2(wxCoord x) const
- {
- wxCoord new_x = x - m_logicalOriginX;
- if (new_x > 0)
- return (wxCoord)((double)(new_x) * m_scaleX + 0.5) * m_signX;
- else
- return (wxCoord)((double)(new_x) * m_scaleX - 0.5) * m_signX;
- }