Home | History | Annotate | Download | only in rendering

Lines Matching refs:scaleW

211     float scaleW = 1.0f;
213 getImageToLayerScale(&scaleW, &scaleH);
215 m.scaleNonUniform(scaleW, scaleH);
240 void ImageTexture::getImageToLayerScale(float* scaleW, float* scaleH) const
242 if (!scaleW || !scaleH)
254 *scaleW = static_cast<float>(layerArea.width()) / static_cast<float>(m_image->width());
274 float scaleW = 1.0f;
276 getImageToLayerScale(&scaleW, &scaleH);
277 visibleContentArea.setX(visibleContentArea.x() / scaleW);
278 visibleContentArea.setWidth(visibleContentArea.width() / scaleW);