FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
226
Copyright © Bridgetek Limited
To zoom a bitmap 2X around its center:
cmd(BEGIN(BITMAPS));
cmd_loadidentity();
cmd_translate(65536 * 32, 65536 * 32);
cmd_scale(2 * 65536, 2 * 65536);
cmd_translate(65536 * -32, 65536 * -
32);
cmd_setmatrix();
cmd(VERTEX2II(68, 28, 0, 0));