Searched refs:kInsetFrac (Results 1 – 1 of 1) sorted by relevance
310 static const SkScalar kInsetFrac = 0.9f; // Leave a border around object in xlate_and_scale_to_bounds() local314 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.width()), in xlate_and_scale_to_bounds()315 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.width())); in xlate_and_scale_to_bounds()317 canvas->scale(SkDoubleToScalar((kInsetFrac*size.fWidth)/bounds.height()), in xlate_and_scale_to_bounds()318 SkDoubleToScalar((kInsetFrac*size.fHeight)/bounds.height())); in xlate_and_scale_to_bounds()