List Info

Thread: About issue53533




About issue53533
user name
2007-10-11 21:28:03
Hello Niklas:
    As you said when I have pixel positions, use
Invalidate(PixelToLogic(...)). Do you think "MapMode
ScGridWindow::GetDrawMapMode" is important to the issue
53533? I hope you can give me some suggestions.
    Thank you!

Best Regards!

Gao Zemin




gaozm
2007-10-12
Re: About issue53533
user name
2007-10-15 05:33:34
gaozm wrote:
> As you said when I have pixel positions, use
> Invalidate(PixelToLogic(...)). Do you think
"MapMode
> ScGridWindow::GetDrawMapMode" is important to the
issue 53533? I hope
> you can give me some suggestions.

If you have a rectangle in pixels and want to invalidate
that rectangle,
regardless of the MapMode that's applied to the window, just
use the
window's PixelToLogic method without passing a MapMode.

Niklas

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesc.openoffice.org
For additional commands, e-mail: dev-helpsc.openoffice.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )