Home | History | Annotate | Download | only in chromium

Lines Matching refs:outline

78     // color. But it fails spectacularly for the outline color used
80 // outline. For some of them it is partially transparent, and for
134 // Paint the button's outline and fill the middle
135 SkPath outline;
138 outline.moveTo(rect.x() + 0.5, rect.y() + rect.height() + 0.5);
139 outline.rLineTo(0, -(rect.height() - 2));
140 outline.rLineTo(2, -2);
141 outline.rLineTo(rect.width() - 5, 0);
142 outline.rLineTo(2, 2);
143 outline.rLineTo(0, rect.height() - 2);
146 outline.moveTo(rect.x() + 0.5, rect.y() - 0.5);
147 outline.rLineTo(0, rect.height() - 2);
148 outline.rLineTo(2, 2);
149 outline.rLineTo(rect.width() - 5, 0);
150 outline.rLineTo(2, -2);
151 outline.rLineTo(0, -(rect.height() - 2));
154 outline.moveTo(rect.x() - 0.5, rect.y() + 0.5);
155 outline.rLineTo(rect.width() - 2, 0);
156 outline.rLineTo(2, 2);
157 outline.rLineTo(0, rect.height() - 5);
158 outline.rLineTo(-2, 2);
159 outline.rLineTo(-(rect.width() - 2), 0);
162 outline.moveTo(rect.x() + rect.width() + 0.5, rect.y() + 0.5);
163 outline.rLineTo(-(rect.width() - 2), 0);
164 outline.rLineTo(-2, 2);
165 outline.rLineTo(0, rect.height() - 5);
166 outline.rLineTo(2, 2);
167 outline.rLineTo(rect.width() - 2, 0);
170 outline.close();
174 canvas->drawPath(outline, paint);
181 canvas->drawPath(outline, paint);
183 // If the button is disabled or read-only, the arrow is drawn with the outline color.