OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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.scale());
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
370
float
bitmap_scale
= image_rep.scale();
local
373
canvas_->scale(SkFloatToScalar(1.0f /
bitmap_scale
),
374
SkFloatToScalar(1.0f /
bitmap_scale
));
376
SkFloatToScalar(x *
bitmap_scale
),
377
SkFloatToScalar(y *
bitmap_scale
),
651
float
bitmap_scale
= image_rep.scale();
local
652
if (scale_x <
bitmap_scale
|| scale_y <
bitmap_scale
)
Completed in 113 milliseconds