Lines Matching refs:scales
49 std::vector<float> scales;
50 scales.push_back(1.0f);
51 scales.push_back(2.0f);
52 return scales;
150 const std::vector<float>& scales) {
154 image_skia.image_reps().size() != scales.size()) {
158 for (size_t i = 0; i < scales.size(); ++i) {
160 image_skia.GetRepresentation(scales[i]);
161 if (image_rep.is_null() || image_rep.scale() != scales[i])
164 if (image_rep.pixel_width() != static_cast<int>(width * scales[i]) ||
165 image_rep.pixel_height() != static_cast<int>(height * scales[i])) {