FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
225
Copyright © Bridgetek Limited
y scale factor, in signed 16. 16 bit fixed-point form.
Command layout
+0
CMD_SCALE(0xffffff28)
+4
sx
+8
sy
Examples
To zoom a bitmap 2X:
cmd(BEGIN(BITMAPS));
cmd_loadidentity();
cmd_scale(2 * 65536, 2 * 65536);
cmd_setmatrix();
cmd(VERTEX2II(68, 28, 0, 0));