Alright, the best way to describe this is with a use case.

I have a Canvas on which rests an Image, let's say this image represents 
a map of the globe. Now, I have some nice panning code that interacts 
with the edges of the screen to move the x and y value kinda like your 
standard RTS game (ala Starcraft). Here's the interesting part, I would 
like to have the very left or very right edge of the map wrap around and 
begin again, effectively making no end to the horizontal scrolling.

Gotchas:
There will be a ton of crap painted on top of the map, like dots 
connecting different points with lines... So, the method has to support 
keeping those map widgets in tact.

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.

Well, if any methods come to mind, please give me your input.

Thanks, Trey


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to