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

Method drawBitmapSR

Engine/source/gfx/gfxDrawUtil.cpp:316–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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{
318 drawBitmapSR(texture,Point2F((F32)in_rAt.x,(F32)in_rAt.y),RectF((F32)srcRect.point.x,(F32)srcRect.point.y,(F32)srcRect.extent.x,(F32)srcRect.extent.y),in_flip,filter,in_wrap, angle);
319}
320
321void GFXDrawUtil::drawBitmapStretchSR( GFXTextureObject *texture, const RectI &dstRect, const RectI &srcRect, const GFXBitmapFlip in_flip, const GFXTextureFilterType filter , bool in_wrap /*= true*/, F32 angle)
322{

Callers 15

onRenderMethod · 0.80
renderBorderFunction · 0.80
onRenderMethod · 0.80
drawVScrollBarMethod · 0.80
drawHScrollBarMethod · 0.80
drawScrollCornerMethod · 0.80
onRenderMethod · 0.80
onRenderCellMethod · 0.80

Calls 4

Point2FClass · 0.70
RectFClass · 0.50
len_xMethod · 0.45
len_yMethod · 0.45

Tested by

no test coverage detected