Lines Matching refs:shape
597 XkbShapePtr shape,
613 if (shape != NULL) {
617 if (shape) {
618 if (outline == shape->approx)
620 else if (outline == shape->primary)
646 XkbShapePtr shape;
661 if (doodad->shape.angle != 0) {
663 XkbGeomFPText(doodad->shape.angle, XkbXKBFile));
665 if (doodad->shape.color_ndx != 0) {
667 XkbShapeDoodadColor(geom, &doodad->shape)->spec);
669 shape = XkbShapeDoodadShape(geom, &doodad->shape);
670 fprintf(file, "%s shape= \"%s\";\n", i_str,
671 XkbAtomText(dpy, shape->name, XkbXKBFile));
699 shape = XkbIndicatorDoodadShape(geom, &doodad->indicator);
706 fprintf(file, "%s shape= \"%s\";\n", i_str,
707 XkbAtomText(dpy, shape->name, XkbXKBFile));
712 if (doodad->shape.angle != 0) {
716 if (doodad->shape.color_ndx != 0) {
720 shape = XkbLogoDoodadShape(geom, &doodad->logo);
721 fprintf(file, "%s shape= \"%s\";\n", i_str,
722 XkbAtomText(dpy, shape->name, XkbXKBFile));
813 XkbShapePtr shape;
829 shape = XkbKeyShape(geom, key);
832 XkbAtomText(dpy, shape->name, XkbXKBFile),
935 XkbShapePtr shape;
939 for (shape = geom->shapes, i = 0; i < geom->num_shapes; i++, shape++) {
941 fprintf(file, " shape \"%s\" {",
942 XkbAtomText(dpy, shape->name, XkbXKBFile));
943 outline = shape->outlines;
944 if (shape->num_outlines > 1) {
945 for (n = 0; n < shape->num_outlines; n++, outline++) {
950 WriteXKBOutline(file, shape, outline, lastR, 8, 8);