Hi all,

can someone tell me how to undraw/remove a polypolygon from a canvas?
I found "CompositeOp" of "CanvasGraphic" and thought I could just set it to 
clear ( setCompositeOp( cppcanvas::CanvasGraphic::CLEAR ); )  before drawing 
and then just redraw the same polypolygon.
But it does not work.
I just want to undraw a painted polypolygon in 
aoo-trunk/main/slideshow/source/engine/slide/userpaintoverlay.cxx.
I also tried to draw some polpolygons with alpha set to different values but 
they all look the same.
(All drawn with 100% alpha)
drawing a polypolygon with alpha set to 50 (alpha did not work for me):
pPolyPoly->setStrokeWidth(50);
pPolyPoly->setRGBALineColor( ::cppcanvas::makeColor( 100, 10, 10, 10 ) );
pPolyPoly->draw();
---------------------------------------------
Der perfekte Zeitpunkt seinen Gasversorger zu wechseln:
http://www.anpa.de/index.php?action=gasvergleich



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

Reply via email to