MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / drawBitmapStretch

Method drawBitmapStretch

Engine/source/gfx/gfxDrawUtil.cpp:311–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void GFXDrawUtil::drawBitmapStretch( GFXTextureObject* texture, const RectI &dstRect, const GFXBitmapFlip in_flip, const GFXTextureFilterType filter , bool in_wrap /*= true*/, F32 angle)
312{
313 drawBitmapStretch(texture,RectF((F32)dstRect.point.x,(F32)dstRect.point.y,(F32)dstRect.extent.x,(F32)dstRect.extent.y),in_flip,filter,in_wrap, angle);
314}
315
316void GFXDrawUtil::drawBitmapSR( GFXTextureObject* texture, const Point2I &in_rAt, const RectI &srcRect, const GFXBitmapFlip in_flip, const GFXTextureFilterType filter , bool in_wrap /*= true*/, F32 angle)
317{

Callers 15

onRenderMethod · 0.80
renderButtonMethod · 0.80
onRenderMethod · 0.80
renderTooltipMethod · 0.80
onRenderMethod · 0.80
onRenderMethod · 0.80
renderStateRectMethod · 0.80
onRenderMethod · 0.80
renderButtonMethod · 0.80
renderButtonMethod · 0.80
renderTooltipMethod · 0.80
onRenderMethod · 0.80

Calls 1

RectFClass · 0.50

Tested by 1

renderTooltipMethod · 0.64