Image Rotation in Xbase++

This forum is for ideas and or code to be contributed for general use.
Post Reply
Message
Author
User avatar
SlavkoDam
Posts: 157
Joined: Wed Apr 27, 2022 10:12 am
Location: Negotin, Serbia
Contact:

Image Rotation in Xbase++

#1 Post 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 2012 times
Slavoljub Damnjanovic
SD-SoftDesign, Alaska Software Technology Partner
https://www.sd-softdesign.com
https://www.sd-softdesign.rs

Post Reply