_DrawImage() is only used within STemWin.
 
Symbols
loading...
Files
loading...

_DrawImage() function

draw the image after scaling it

Syntax

static int _DrawImage(FIL *hFile,     uint8_t Enlarge,     uint8_t type);

Arguments

hFile

pointer to the image file

Enlarge

0 = window mode 1 = full screen mode

type

specify the image type this parameter can be: - IMAGE_TYPE_JPG - IMAGE_TYPE_BMP

Return value

None

References

LocationReferrerText
imagebrowser_win.c:636
static int _DrawImage(FIL *hFile, uint8_t Enlarge, uint8_t type)
imagebrowser_win.c:742_cbImageWindow()
if(_DrawImage(&Image_File, IMAGE_Enlarge, IMAGE_Type) > 0)

Call Tree

Functions calling _DrawImage()
Functions called by _DrawImage()
all items filtered out
_DrawImage()
Data read by _DrawImage()
Data written by _DrawImage()
_DrawImage()::XPos
_DrawImage()::YPos
_DrawImage()::XSize
_DrawImage()::YSize
_DrawImage()::nx
_DrawImage()::ny
_DrawImage()::n
_DrawImage()::Info
all items filtered out
_DrawImage()
_DrawImage()::XPos
_DrawImage()::YPos
_DrawImage()::XSize
_DrawImage()::YSize
_DrawImage()::nx
_DrawImage()::ny
_DrawImage()::n
all items filtered out
Type of _DrawImage()
_DrawImage()
all items filtered out