Searched refs:kInsetFrac (Results 1 – 2 of 2) sorted by relevance
102 static const SkScalar kInsetFrac = 0.9f; // Leave a border around object in xlate_and_scale_to_bounds() local106 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), in xlate_and_scale_to_bounds()107 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); in xlate_and_scale_to_bounds()109 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), in xlate_and_scale_to_bounds()110 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); in xlate_and_scale_to_bounds()
99 static const SkScalar kInsetFrac = 0.9f; // Leave a border around object in xlate_and_scale_to_bounds() local103 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), in xlate_and_scale_to_bounds()104 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); in xlate_and_scale_to_bounds()106 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), in xlate_and_scale_to_bounds()107 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); in xlate_and_scale_to_bounds()