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

Method drawBitmap

Engine/source/gfx/gfxDrawUtil.cpp:306–309  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Draw Bitmaps -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

304// Draw Bitmaps
305//-----------------------------------------------------------------------------
306void GFXDrawUtil::drawBitmap( GFXTextureObject* texture, const Point2I &in_rAt, const GFXBitmapFlip in_flip, const GFXTextureFilterType filter , bool in_wrap /*= true*/, F32 angle)
307{
308 drawBitmap(texture,Point2F((F32)in_rAt.x,(F32)in_rAt.y),in_flip,filter,in_wrap, angle);
309}
310
311void GFXDrawUtil::drawBitmapStretch( GFXTextureObject* texture, const RectI &dstRect, const GFXBitmapFlip in_flip, const GFXTextureFilterType filter , bool in_wrap /*= true*/, F32 angle)
312{

Callers 7

renderButtonMethod · 0.80
renderButtonMethod · 0.80
renderMethod · 0.80
onRenderCellMethod · 0.80
onRenderMethod · 0.80
drawHandleMethod · 0.80
renderScreenObjMethod · 0.80

Calls 1

Point2FClass · 0.70

Tested by

no test coverage detected