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:
parent
5a7fa9ed3b
commit
06201c35d7
@ -1104,10 +1104,10 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest,
|
||||
|
||||
if (!m_window) return FALSE;
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
// transform the source DC coords to the device ones
|
||||
xsrc = XLOG2DEV(xsrc);
|
||||
ysrc = YLOG2DEV(ysrc);
|
||||
xsrc = source->XLOG2DEV(xsrc);
|
||||
ysrc = source->YLOG2DEV(ysrc);
|
||||
#endif
|
||||
|
||||
wxClientDC *srcDC = (wxClientDC*)source;
|
||||
|
@ -1104,10 +1104,10 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest,
|
||||
|
||||
if (!m_window) return FALSE;
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
// transform the source DC coords to the device ones
|
||||
xsrc = XLOG2DEV(xsrc);
|
||||
ysrc = YLOG2DEV(ysrc);
|
||||
xsrc = source->XLOG2DEV(xsrc);
|
||||
ysrc = source->YLOG2DEV(ysrc);
|
||||
#endif
|
||||
|
||||
wxClientDC *srcDC = (wxClientDC*)source;
|
||||
|
Loading…
Reference in New Issue
Block a user