wxDC::Blit(): the source coordinates are logical coordinates
of the source DC now. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1104,10 +1104,10 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest,
|
|||||||
|
|
||||||
if (!m_window) return FALSE;
|
if (!m_window) return FALSE;
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
// transform the source DC coords to the device ones
|
// transform the source DC coords to the device ones
|
||||||
xsrc = XLOG2DEV(xsrc);
|
xsrc = source->XLOG2DEV(xsrc);
|
||||||
ysrc = YLOG2DEV(ysrc);
|
ysrc = source->YLOG2DEV(ysrc);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxClientDC *srcDC = (wxClientDC*)source;
|
wxClientDC *srcDC = (wxClientDC*)source;
|
||||||
|
@@ -1104,10 +1104,10 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest,
|
|||||||
|
|
||||||
if (!m_window) return FALSE;
|
if (!m_window) return FALSE;
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
// transform the source DC coords to the device ones
|
// transform the source DC coords to the device ones
|
||||||
xsrc = XLOG2DEV(xsrc);
|
xsrc = source->XLOG2DEV(xsrc);
|
||||||
ysrc = YLOG2DEV(ysrc);
|
ysrc = source->YLOG2DEV(ysrc);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxClientDC *srcDC = (wxClientDC*)source;
|
wxClientDC *srcDC = (wxClientDC*)source;
|
||||||
|
Reference in New Issue
Block a user