AnsweredAssumed Answered

Displaying Bitmaps with STemWIN

Question asked by lilley.craig on Oct 8, 2014
Latest reply on Nov 5, 2014 by Montassar BEN ROMDHANE
Hey,

Im having a problem getting bitmaps to draw with the following functions:

IMAGE_SetBMP()
GUI_BMP_Draw()
GUI_DrawBitmap()

When drawing with any of these functions I see either the top-left most pixel or a vertical row of image pixels displayed at the image location I specify.

However I can display the bitmap fine by using either:

GUI_DrawBitmapMag()
GUI_BMP_DrawScaled() 

I know I could just use the scaled versions with a scaling factor of 1. But when drawing image "widgets" inside a window, it seems you need to use IMAGE_SetBMP(), which is what I'm trying  to do.

Has anyone else experienced the same problem as this or can tell me what I am doing wrong?

Cheers

Outcomes