HomeSort by relevance Sort by last modified time
    Searched full:bitmap_scale (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/ui/gfx/
skia_util.cc 71 SkScalar bitmap_scale = SkFloatToScalar(image_rep.GetScale()); local
73 // Unscale matrix by |bitmap_scale| such that the bitmap is drawn at the
76 // Thus, for |bitmap_scale| = 2:
81 shader_scale.preScale(bitmap_scale, bitmap_scale);
82 shader_scale.setScaleX(SkScalarDiv(scale_x, bitmap_scale));
83 shader_scale.setScaleY(SkScalarDiv(scale_y, bitmap_scale));
canvas.cc 306 float bitmap_scale = image_rep.GetScale(); local
309 canvas_->scale(SkFloatToScalar(1.0f / bitmap_scale),
310 SkFloatToScalar(1.0f / bitmap_scale));
312 SkFloatToScalar(x * bitmap_scale),
313 SkFloatToScalar(y * bitmap_scale),
535 float bitmap_scale = image_rep.GetScale(); local
536 if (scale_x < bitmap_scale || scale_y < bitmap_scale)

Completed in 200 milliseconds