Lines Matching defs:outlines
64 XkbOutlinePtr outlines;
638 if (tmp->outlines)
643 if (tmp->outlines[i].points != NULL)
645 free(tmp->outlines[i].points);
646 tmp->outlines[i].num_points = 0;
647 tmp->outlines[i].points = NULL;
650 free(tmp->outlines);
653 tmp->outlines = NULL;
854 old->outlines = NULL;
2384 WARN("Shape \"%s\" has no outlines\n", shText(info->dpy, si));
2389 si->outlines = calloc(def->nOutlines, sizeof(XkbOutlineRec));
2390 if (!si->outlines)
2392 ERROR("Couldn't allocate outlines for \"%s\"\n",
2398 for (nOut = 0, ol = def->outlines; ol != NULL;
2407 outline = &si->outlines[nOut++];
2438 ACTION("Treating all but the first as normal outlines\n");
2447 WARN("Multiple primary outlines for \"%s\"\n",
2449 ACTION("Treating all but the first as normal outlines\n");
2462 WSGO("Expected %d outlines, got %d\n",
2915 old_outline = si->outlines;
2934 n = (si->approx - si->outlines);
2935 shape->approx = &shape->outlines[n];
2939 n = (si->primary - si->outlines);
2940 shape->primary = &shape->outlines[n];