EasyManua.ls Logo

Bridgetek FT801 - Page 139

Default Icon
263 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
139
Product Page
Document Feedback Copyright © Bridgetek Limited
Examples
Draw two points, incrementing stencil at each pixel, then draw the pixels with value
2 in red:
dl( STENCIL_OP(INCR, INCR) );
dl( POINT_SIZE(760) );
dl( BEGIN(POINTS) );
dl( VERTEX2II(50, 60, 0, 0) );
dl( VERTEX2II(110, 60, 0, 0) );
dl( STENCIL_FUNC(EQUAL, 2, 255) );
dl( COLOR_RGB(100, 0, 0) );
dl( VERTEX2II(80, 60, 0, 0) );
Graphics context
The values of sfail and spass are part of the graphics context, as described in
section 4.1
See also
STENCIL_FUNC, STENCIL_MASK

Table of Contents