Page 1 of 1

Image Rotation in Xbase++

Posted: Mon Jan 05, 2026 1:45 am
by SlavkoDam
Hi,

In Xbase++, an image can be rotated using the GraRotate() function. The GraScale() function allows to scale the image. Transparency can be applied to any image format, not only PNG and GIF. The transformed image can be saved with GraSegSave() function, loaded with GraSegLoad() function, and then displayed, printed or saved into a file.

The following example shows image transformations with Gra* functions.

RotateBitmap.JPG
RotateBitmap.JPG (76.04 KiB) Viewed 2031 times