Searched refs:bitmap_scale (Results 1 – 2 of 2) sorted by relevance
71 SkScalar bitmap_scale = SkFloatToScalar(image_rep.scale()); in CreateImageRepShader() local81 shader_scale.preScale(bitmap_scale, bitmap_scale); in CreateImageRepShader()82 shader_scale.setScaleX(SkScalarDiv(scale_x, bitmap_scale)); in CreateImageRepShader()83 shader_scale.setScaleY(SkScalarDiv(scale_y, bitmap_scale)); in CreateImageRepShader()
370 float bitmap_scale = image_rep.scale(); in DrawImageInt() local373 canvas_->scale(SkFloatToScalar(1.0f / bitmap_scale), in DrawImageInt()374 SkFloatToScalar(1.0f / bitmap_scale)); in DrawImageInt()376 SkFloatToScalar(x * bitmap_scale), in DrawImageInt()377 SkFloatToScalar(y * bitmap_scale), in DrawImageInt()651 float bitmap_scale = image_rep.scale(); in GetImageRepToPaint() local652 if (scale_x < bitmap_scale || scale_y < bitmap_scale) in GetImageRepToPaint()