Yeah, that's an interesting method to the Matrix class. So I assume
it translates the matrix such that the wrapping occurs naturally as it
fills the right hand side with what just went out of visibility on the
left? If so, great idea. Thanks!
Philippe Maegerman wrote:
Yes I think using
Matrix.translate() would fix your issue
Philippe
> What I have thought of:
> I thought that if I could cache the canvas as a bitmap and access
the
> bitmap data that I could wrap the pixels around bit by bit.
That will be... er, less than performant.
Look into using your bitmap as a fill, and changing its transformation
matrix. You shouldn't need to touch the pixels to get the wrapping.
-rg
------------------------------------------------------------------
**STATEMENT OF CONFIDENTIALITY**
This e-mail and any attached files are
confidential and intended solely for the use of the individual to whom
it is addressed. If you have received this email in error please send
it back to the person that sent it to you. Any views or opinions
presented are solely those of author and do not necessarily represent
those the Emakina Company. Unauthorized publication, use,
dissemination, forwarding, printing or copying of this email and its
associated attachments is strictly prohibited.
We also inform you that we have
checked that this message does not contain any virus but we decline any
responsability in case of any damage caused by an a non detected virus.
------------------------------------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|