MCPcopy Create free account
hub / github.com/axmolengine/axmol / setupTexture

Method setupTexture

core/ui/UIImageView.cpp:151–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void ImageView::setupTexture()
152{
153 _imageTextureSize = _imageRenderer->getContentSize();
154
155 this->updateChildrenDisplayedRGBA();
156
157 updateContentSizeWithTextureSize(_imageTextureSize);
158 _imageRendererAdaptDirty = true;
159}
160
161void ImageView::setTextureRect(const Rect& rect)
162{

Callers 1

loadTextureMethod · 0.95

Calls 2

getContentSizeMethod · 0.45

Tested by

no test coverage detected