Surface.blitScaled - multiple declarations
Function Surface.blitScaled
Wraps SDL_BlitScaled
which blits/draws a dsdl2
on top of the dsdl2
at a specific
point as the top-left point of the drawn dsdl2
with scaling
Parameters
Name | Description |
---|---|
source | dsdl2 to blit/draw |
destRect | dsdl2 of where source should be drawn (squeezes/stretches to the dimensions as well) |
Function Surface.blitScaled
Wraps SDL_BlitScaled
which blits/draws a dsdl2
on top of the dsdl2
at a specific
point as the top-left point of the drawn dsdl2
with scaling
Parameters
Name | Description |
---|---|
source | dsdl2 to blit/draw |
destRect | dsdl2 of where source should be drawn (squeezes/stretches to the dimensions as well) |
srcRect | the clipping rect of source specifying which part is drawn |