Lines Matching defs:scale
234 // approximate the scale since we can't get it from the matrix
260 // so we can preserve as much detail as possible. However, we can't scale down more
262 // just bigger than the ideal, and then scale down until we are no more than 4x the
281 SkScalar scale = desiredDimension / maxDim;
289 scale)) {
355 SkScalar scale) const {
361 // scale to mip level size
362 scaledBounds.fLeft *= scale;
363 scaledBounds.fTop *= scale;
364 scaledBounds.fRight *= scale;
365 scaledBounds.fBottom *= scale;
383 drawMatrix.setScale(scale, scale);
435 drawBounds.fLeft /= scale;
436 drawBounds.fTop /= scale;
437 drawBounds.fRight /= scale;
438 drawBounds.fBottom /= scale;