I did what I said before to accomplish what I wanted :
- BitmapData.draw to get a bitmap containing my Canvas snapshot
- UIComponent.scaleX/Y to zoom...
I commented my sources if anyone is interested in using it.
eaurizon.org/labs_maz/AdvancedCanvas/src.zip
The package contains :
- AdvancedCanvas
Regarding generating the snapshot or thumbnail drawing... Sorry if
this isn't incredibly helpful, but I'd start with understanding
BitmapData stuff. To do the snapshot I'm guessing you're going to want
to capture the BitmapData of the Canvas (and that will include all the
components it
Yes that is exactly what I needed ! I will come back to you when I
will have solved that clipping issue.
For the zoom feature, I just found a property of the Canvas : scaleX,
scaleY... looks pretty much what I was looking for !
Mathieu LEMAIRE
3 matches
Mail list logo