Home | History | Annotate | Download | only in xkb

Lines Matching defs:shape

560                 XkbShapePtr shape,
573 if (shape != NULL) {
577 if (shape) {
578 if (outline == shape->approx)
580 else if (outline == shape->primary)
603 XkbShapePtr shape;
618 if (doodad->shape.angle != 0) {
620 XkbGeomFPText(doodad->shape.angle, XkbXKBFile));
622 if (doodad->shape.color_ndx != 0) {
624 XkbShapeDoodadColor(geom, &doodad->shape)->spec);
626 shape = XkbShapeDoodadShape(geom, &doodad->shape);
627 fprintf(file, "%s shape= \"%s\";\n", i_str,
628 XkbAtomText(shape->name, XkbXKBFile));
656 shape = XkbIndicatorDoodadShape(geom, &doodad->indicator);
663 fprintf(file, "%s shape= \"%s\";\n", i_str,
664 XkbAtomText(shape->name, XkbXKBFile));
669 if (doodad->shape.angle != 0) {
673 if (doodad->shape.color_ndx != 0) {
677 shape = XkbLogoDoodadShape(geom, &doodad->logo);
678 fprintf(file, "%s shape= \"%s\";\n", i_str,
679 XkbAtomText(shape->name, XkbXKBFile));
763 XkbShapePtr shape;
779 shape = XkbKeyShape(geom, key);
782 XkbAtomText(shape->name, XkbXKBFile),
879 XkbShapePtr shape;
883 for (shape = geom->shapes, i = 0; i < geom->num_shapes; i++, shape++) {
885 fprintf(file, " shape \"%s\" {",
886 XkbAtomText(shape->name, XkbXKBFile));
887 outline = shape->outlines;
888 if (shape->num_outlines > 1) {
889 for (n = 0; n < shape->num_outlines; n++, outline++) {
894 WriteXKBOutline(file, shape, outline, lastR, 8, 8);