Searched refs:shadow_margin (Results 1 – 2 of 2) sorted by relevance
350 const gfx::Insets shadow_margin = -gfx::ShadowValue::GetMargin(shadows_); in GetTextSize() local351 text_size_.Enlarge(shadow_margin.width(), shadow_margin.height()); in GetTextSize()
761 gfx::Insets shadow_margin = -gfx::ShadowValue::GetMargin(shadows); in CreateDropShadow() local764 image_with_shadow.allocN32Pixels(bitmap.width() + shadow_margin.width(), in CreateDropShadow()765 bitmap.height() + shadow_margin.height()); in CreateDropShadow()769 canvas.translate(SkIntToScalar(shadow_margin.left()), in CreateDropShadow()770 SkIntToScalar(shadow_margin.top())); in CreateDropShadow()