Hi Philipp,

Philipp Lohmann a écrit :

The intro bitmap does not involve any SalObject; mpSysObj will always be NULL here.

Ok, thank you very much for the information. This will save me a lot of time !


> From my side, I'd finaly prefer the clipping solution suggested by Thorsten, and that I mentioned in a previous mail


That is the right thing to do IMHO; it will work out of the box on all platforms. For performance reasons it might be advisable to set a mask instead of a region, but we'd need additional code to do that.

Ok, so I started with the first methode (make it work first ;-) And I think I progressed.

Here is my code (with a very good explanation from Thorsten, about how to proceed) : http://paste.lisp.org/display/79096#1

Everything is put in loadPng(), just after the line : _aIntroPng = vcl::PNGReader(*s).Read();
.. but it does not work. Probably something dumb, I don't know exactly.

After some investigations, it seems that my problems are :

- what exact Rectangle use ? e.g. Rectangle() without anything seems to work - when using a Point, nothing is shown if the cooredinates are inferior (both x and y) to 100 ?? - Does Window::SetWindowRegionPixel( aOpaqueRegion ) really work as expected

Any help is of course appreciated :)

Thanks in advance !

Eric


--
Education Project: http://wiki.services.openoffice.org/wiki/Education_Project
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.free.fr/news


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: dev-h...@gsl.openoffice.org

Reply via email to