RenderToSurface
RenderToSurface

Renders the current frame to a surface

bSuccess = myJAM.RenderToSurface( Surface, StartX, ScrollX, StartY, ScrollY )
bSuccess = myJAM.RenderToSurface( Surface, StartX, ScrollX, StartY, ScrollY, bNoRender )

Return value
TRUE if successful, otherwise FALSE.

Parameters
  • Surface
    Surface to render to
  • StartX
    Initial X coordinate of center of frame (before any scrolling)
  • ScrollX
    Current X coordinate of center of frame
  • StartY
    Initial Y coordinate of center of frame (before any scrolling)
  • ScrollY
    Current Y coordinate of center of frame
  • bNoRender
    Set to TRUE to surpress actual rendering. Used by MIS mode
Comments

This is for ADVANCED USE ONLY. Only use this function if you are familiar with the inner workings of JAM.
This is called by Refresh automatically.
This is used by the Window object to create windows onto other parts of the frame. Other objects may be able to make use of the function.

See also
JAM:Refresh



JAM © 2005 no one in partiular
Project started by David Evans in 2005