PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

long flags member in struct E2DBLTFX

akabeer1983 · 09 Feb 2009, 08:19 UTC
Hi,
i have got few doubts, please clarify if anyone does know.

In the definition of struct E2DBLTFX
typedef struct
{
long flags
unsigned long property
unsigned long xscale
unsigned long yscale
unsigned long rotation
unsigned char flipflags
}E2DBLTFX



I) what does the first member "long flags" represent?

II) If i use Blt to render images, and set scale value to N x 65536, N > 1, then the image is scaled up (magnified). If i use N x 65536, N < 1, the image is rendered in scaled down size.

But if i use N x 65536, N = 1, there is no image displayed. SO if i want to use Blt function, without scaling (maybe only for rotation, using Blt function)
how may i render, with original size of image?


III)Similarly for E2DBLTFX members; xscale, yscale

Thanks