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?
Im using the STM3210C-EVAL board and stemwin version 1.1.2.
Cheers
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?
Im using the STM3210C-EVAL board and stemwin version 1.1.2.
Cheers