Re: [Pgui-devel] Bitmap rotation

2003-01-15 Thread Olivier Bornet
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,

Re: [Pgui-devel] Bitmap rotation

2003-01-15 Thread Olivier Bornet
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