Lines Matching defs:scale
112 canvas->scale(2, 2);
125 // scale matrix
126 SkMatrix scale = SkMatrix::Scale(1.f / 5.f, 1.f / 5.f);
138 // combined persp * scale
139 SkMatrix perspScale = SkMatrix::Concat(persp, scale);
157 // 4 variants that all attempt to apply sample at persp * scale w/ an image shader
158 // 1. scale provided to SkImage::makeShader(...) but drawn with persp
160 SkSamplingOptions(), &scale);
163 // 2. persp provided to SkImage::makeShader, then wrapped in scale makeWithLocalMatrix
164 // These pre-concat, so it ends up as persp * scale.
167 ->makeWithLocalMatrix(scale);
170 // 3. Providing pre-computed persp*scale to SkImage::makeShader()
175 // 4. Providing pre-computed persp*scale to makeWithLocalMatrix
186 // 1. scale provided to Make, drawn with persp
189 SkTileMode::kRepeat, 0, &scale);
196 ->makeWithLocalMatrix(scale);
199 // 3. Provide per-computed persp*scale to Make
205 // 4. Providing pre-computed persp*scale to makeWithLocalMatrix