EasyManua.ls Logo

Bridgetek FT801 - Scissor_Size

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
132
Product Page
Document Feedback Copyright © Bridgetek Limited
4.36 SCISSOR_SIZE
Specify the size of the scissor clip rectangle
Encoding
31 24
23 20
19 10
9 0
0x1C
Reserved
Width
Height
Parameters
width
The width of the scissor clip rectangle, in pixels. The initial value is 512.
The valid value range is from 0 to 512.
height
The height of the scissor clip rectangle, in pixels. The initial value is 512.
The valid value range is from 0 to 512.
Description
Sets the width and height of the scissor clip rectangle, which limits the drawing area.
Examples
Setting a 40 x 30 scissor rectangle clips the clear and bitmap drawing:
dl( SCISSOR_XY(40, 30) );
dl( SCISSOR_SIZE(80, 60) );
dl( CLEAR_COLOR_RGB(0, 0, 255) );
dl( CLEAR(1, 1, 1) );
dl( BEGIN(BITMAPS) );
dl( VERTEX2II(35, 20, 31, 0x47) );
Graphics context
The values of width and height are part of the graphics context 4.1
See also

Table of Contents