Lines Matching refs:shapeWire
4710 xkbShapeWireDesc *shapeWire; in XkbWriteGeomShapes() local
4717 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()
4732 wire = (char *) &shapeWire[1]; in XkbWriteGeomShapes()
5434 xkbShapeWireDesc *shapeWire; in _CheckSetShapes() local
5438 shapeWire = (xkbShapeWireDesc *) wire; in _CheckSetShapes()
5444 XkbAddGeomShape(geom, shapeWire->name, shapeWire->nOutlines); in _CheckSetShapes()
5447 olWire = (xkbOutlineWireDesc *) (&shapeWire[1]); in _CheckSetShapes()
5448 for (o = 0; o < shapeWire->nOutlines; o++) { in _CheckSetShapes()
5469 if (shapeWire->primaryNdx != XkbNoShape) in _CheckSetShapes()
5470 shape->primary = &shape->outlines[shapeWire->primaryNdx]; in _CheckSetShapes()
5471 if (shapeWire->approxNdx != XkbNoShape) in _CheckSetShapes()
5472 shape->approx = &shape->outlines[shapeWire->approxNdx]; in _CheckSetShapes()
5473 shapeWire = (xkbShapeWireDesc *) olWire; in _CheckSetShapes()
5475 wire = (char *) shapeWire; in _CheckSetShapes()