Searched refs:shapeWire (Results 1 – 2 of 2) sorted by relevance
1090 xkmShapeDesc shapeWire; in ReadXkmGeometry() local1100 tmp = fread(&shapeWire, SIZEOF(xkmShapeDesc), 1, file); in ReadXkmGeometry()1102 shape = XkbAddGeomShape(geom, nameAtom, shapeWire.num_outlines); in ReadXkmGeometry()1107 for (n = 0; n < shapeWire.num_outlines; n++) { in ReadXkmGeometry()1135 if (shapeWire.primary_ndx != XkbNoShape) in ReadXkmGeometry()1136 shape->primary = &shape->outlines[shapeWire.primary_ndx]; in ReadXkmGeometry()1137 if (shapeWire.approx_ndx != XkbNoShape) in ReadXkmGeometry()1138 shape->approx = &shape->outlines[shapeWire.approx_ndx]; in ReadXkmGeometry()
4710 xkbShapeWireDesc *shapeWire; in XkbWriteGeomShapes() local4717 shapeWire = (xkbShapeWireDesc *) wire; in XkbWriteGeomShapes()4718 shapeWire->name = shape->name; in XkbWriteGeomShapes()4719 shapeWire->nOutlines = shape->num_outlines; in XkbWriteGeomShapes()4721 shapeWire->primaryNdx = XkbOutlineIndex(shape, shape->primary); in XkbWriteGeomShapes()4723 shapeWire->primaryNdx = XkbNoShape; in XkbWriteGeomShapes()4725 shapeWire->approxNdx = XkbOutlineIndex(shape, shape->approx); in XkbWriteGeomShapes()4727 shapeWire->approxNdx = XkbNoShape; in XkbWriteGeomShapes()4728 shapeWire->pad = 0; in XkbWriteGeomShapes()4730 swapl(&shapeWire->name); in XkbWriteGeomShapes()[all …]