Hello,
> In our app, we want to turn an image from 90 or 270 degres.
> To achieve this we thought about displaying the bitmap in a canvas and
> using the PG_GROP_ROTATEBITMAP parameter with something like :
After some tests, I have found the solution. This require 3 calls to
pgWriteCmd (). Here a
Hello again,
another question is : can we use a bitmap instead of a canvas. This
mean, instead of:
> pgWriteCmd (canvas,
> PGCANVAS_GROP, 6,
> PG_GROP_ROTATEBITMAP, 0, w, h, w, image);
can I use:
pgRender (bitmap,
PGCANVAS_GROP, 6,