How to rotate square part of a pixmap 45 degrees?

BlitzMax Forums/BlitzMax Beginners Area/How to rotate square part of a pixmap 45 degrees?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

there is no build in instruction to rotate a Pixmap. you can do it through an image.
steps:
copy/convert pixmap to image
setrotation to 45
draw the image to screen:
grab rotated image from screen as pixmap

you need to use these commands:
loadimage - to convert pixmap to image
grabpixmap - to grab the pixmap from the screen