Jump to content

ROTATITION image?


nhandt3

Recommended Posts

You would need to decode your image into a pixmap. That would then give you the image in memory non-rotated.

You could then build a rotation matrix and then point by point transfer the image to the display passing each x, y coordinate through your rotation matrix to get the destination x,y coordinate. 

Link to comment
Share on other sites

6 hours ago, inmarket said:

You would need to decode your image into a pixmap. That would then give you the image in memory non-rotated.

To clarify: This is fairly easy as it's just two high-level API calls: gdispPixmapCreate() to create a valid GDisplay object and then pass that GDisplay* pointer as the first argument to your gdispGImageDraw() function. That's how you draw the image into the pixmap.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...