Lines Matching defs:margin

13     const gfx::Rect& bounds, int margin) {
15 int cap_height = std::min(bounds.height() / 2, margin * 2);
24 return CreateWithParagraphShape(top, body, bottom, margin);
46 int margin) {
52 margin = std::min(margin, min_height / 2);
54 if (top.x() <= middle.x() + 2 * margin) {
58 if (top.right() >= middle.right() - 2 * margin) {
62 if (bottom.x() <= middle.x() + 2 * margin) {
66 if (bottom.right() >= middle.right() - 2 * margin) {
71 ring.points[0] = gfx::Point(top.x(), top.bottom() - margin);
72 ring.points[1] = gfx::Point(top.x(), top.y() + margin);
74 ring.points[3] = gfx::Point(top.x() + margin, top.y());
75 ring.points[4] = gfx::Point(top.right() - margin, top.y());
77 ring.points[6] = gfx::Point(top.right(), top.y() + margin);
78 ring.points[7] = gfx::Point(top.right(), top.bottom() - margin);
81 ring.points[9] = gfx::Point(top.right() + margin, middle.y());
82 ring.points[10] = gfx::Point(middle.right() - margin, middle.y());
88 ring.points[12] = gfx::Point(middle.right(), middle.y() + margin);
89 ring.points[13] = gfx::Point(middle.right(), middle.bottom() - margin);
92 ring.points[15] = gfx::Point(middle.right() - margin, bottom.y());
93 ring.points[16] = gfx::Point(bottom.right() + margin, bottom.y());
99 ring.points[18] = gfx::Point(bottom.right(), bottom.y() + margin);
100 ring.points[19] = gfx::Point(bottom.right(), bottom.bottom() - margin);
102 ring.points[21] = gfx::Point(bottom.right() - margin, bottom.bottom());
103 ring.points[22] = gfx::Point(bottom.x() + margin, bottom.bottom());
105 ring.points[24] = gfx::Point(bottom.x(), bottom.bottom() - margin);
106 ring.points[25] = gfx::Point(bottom.x(), bottom.y() + margin);
109 ring.points[27] = gfx::Point(bottom.x() - margin, bottom.y());
110 ring.points[28] = gfx::Point(middle.x() + margin, middle.bottom());
116 ring.points[30] = gfx::Point(middle.x(), middle.bottom() - margin);
117 ring.points[31] = gfx::Point(middle.x(), middle.y() + margin);
120 ring.points[33] = gfx::Point(middle.x() + margin, middle.y());
121 ring.points[34] = gfx::Point(top.x() - margin, top.bottom());