|
RenderToImage | |
RenderToImage ImageIndex | |
Parameters: ImageIndex = The Index of the number you wish to draw to |
|
Returns: NONE | |
RenderToImage will make PlayBASIC direct it's drawing operations such as Text, Graphics, Images, Sprites, Maps etc to the Image rather than the screen. FACTS: * When drawing is being redirected to an image, you'll have to draw that image to the screen in order to see any changes. * Image 0 is the screen. So passing RenderToImage an ImageIndex of zero (RenderToImage 0) is the same RenderToScreen. Mini Tutorial: This example Creates a temp image, redirects all draw to the newly create image, renders some circles on that image, restores rendering back to the screen, draws the image to the screen and then refreshes the screen so we can see it.
|
Related Info: | GetSurface | RenderToScreen | Sync : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |