Laurent Veilleux wrote:
> ok but when I spoke about x = 1400 it concerns the mouse cursor :/ not
> the update rect size
> 
> I need to display image center on the origin on the canvas ,
> to get the origin in display coord i make
> 
>     double xDevice = m_drawer2D->WorldToDeviceXRelNoRnd (0);
>     double yDevice = m_drawer2D->WorldToDeviceYRelNoRnd (0);
> 
> 
> but it always return 0 and 0 :/

Which canvas do use these days? a2dCanvasSim? That would explain such outcome.
Why is the mouse cursor related to wxDC for blitting ??






-- 
Unclassified

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to