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