You have to use the clipRect parameter and pass a Rectangle specifying what
area you want to copy.


Cheers
Juan Pablo Califano


2008/11/12, John Giotta <[EMAIL PROTECTED]>:
>
> I'm trying to figure out how grab specified regions of a JPEG and draw
> a Bitmap from them.
> So if the user outlines a rectanglur area of the JPEG at say x=100, y=
> 35, width=90, height=20; I want to duplicate it into a Bitmap object.
>
> I thought (but obviously wrong) that I use Matrix to translate position.
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to