Lines Matching refs:ol
262 XkbOutlinePtr ol;
270 for (o = 0, ol = shape->outlines; o < shape->num_outlines; o++, ol++) {
273 if ((shape->num_outlines > 1) && (ol == shape->approx))
275 pt = ol->points;
277 if (ol->num_points == 1) {
278 if (ol->corner_radius < 1) {
288 fprintf(out, " %3d 0 moveto\n", ol->corner_radius);
290 pt->y, ol->corner_radius);
292 pt->y, ol->corner_radius);
294 ol->corner_radius);
296 ol->corner_radius);
301 else if (ol->num_points == 2) {
302 if (ol->corner_radius < 1) {
312 fprintf(out, " %3d %3d moveto\n", pt[0].x + ol->corner_radius,
315 pt[1].x, pt[1].y, ol->corner_radius);
317 pt[0].x, pt[1].y, ol->corner_radius);
319 pt[0].x, pt[0].y, ol->corner_radius);
321 pt[1].x, pt[0].y, ol->corner_radius);
327 if (ol->corner_radius < 1) {
330 for (int p = 1; p < ol->num_points; p++, pt++) {
333 if ((pt->x != ol->points[0].x) || (pt->y != ol->points[0].y))
340 last = &pt[ol->num_points - 1];
347 pt[0].x, pt[0].y, pt[1].x, pt[1].y, ol->corner_radius);
351 for (int p = 1; p < ol->num_points; p++) {
352 if (p < (ol->num_points - 1))
358 last->x, last->y, ol->corner_radius);
360 last = &pt[ol->num_points - 1];
364 pt[1].x, pt[1].y, ol->corner_radius);