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