SL_DrawTemplate


NAME
SL_DrawTemplate -- draws a template in a window.

SYNOPSIS
SL_DrawTemplate(winhandle, gtmhandle, x, y);
A0 A1 D0 D1

void SL_DrawTemplate(WINHANDLE, GTMHANDLE, UWORD, UWORD);

FUNCTION
Draws the given template using the current foreground, background, and
draw mode. The 1 bits in the template are drawn using the foreground
pen and the 0 bits are drawn using the background pen.

INPUTS
winhandle - as returned by SL_CreateWindowAdd Page.
gtmhandle - as returned by SL_CreateTemplate.
x,y - the position where the template will be drawn in the window.

SEE ALSO
SL_CreateTemplate, SL_FreeTemplate, SL_ReadTemplatePixel, SL_WriteTemplatePixel, SL_ReadTemplateRowPacked, SL_WriteTemplateRowPacked, SL_DrawTemplateRect.

 

SL_DrawTemplate  Command Section By Type  url:SL_DrawTemplate
  created:2008-03-01 23:36:31   last updated:2008-03-01 23:36:31
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_DrawTemplate
There are no user contributed comments for this page.