Searched refs:ptWire (Results 1 – 2 of 2) sorted by relevance
1109 xkmPointDesc ptWire; in ReadXkmGeometry() local1121 tmp = fread(&ptWire, SIZEOF(xkmPointDesc), 1, file); in ReadXkmGeometry()1123 ol->points[p].x = ptWire.x; in ReadXkmGeometry()1124 ol->points[p].y = ptWire.y; in ReadXkmGeometry()1125 if (ptWire.x < shape->bounds.x1) in ReadXkmGeometry()1126 shape->bounds.x1 = ptWire.x; in ReadXkmGeometry()1127 if (ptWire.x > shape->bounds.x2) in ReadXkmGeometry()1128 shape->bounds.x2 = ptWire.x; in ReadXkmGeometry()1129 if (ptWire.y < shape->bounds.y1) in ReadXkmGeometry()1130 shape->bounds.y1 = ptWire.y; in ReadXkmGeometry()[all …]
4736 xkbPointWireDesc *ptWire; in XkbWriteGeomShapes() local4743 ptWire = (xkbPointWireDesc *) wire; in XkbWriteGeomShapes()4745 ptWire[p].x = pt->x; in XkbWriteGeomShapes()4746 ptWire[p].y = pt->y; in XkbWriteGeomShapes()4748 swaps(&ptWire[p].x); in XkbWriteGeomShapes()4749 swaps(&ptWire[p].y); in XkbWriteGeomShapes()4752 wire = (char *) &ptWire[ol->num_points]; in XkbWriteGeomShapes()5451 xkbPointWireDesc *ptWire; in _CheckSetShapes() local5457 ptWire = (xkbPointWireDesc *) &olWire[1]; in _CheckSetShapes()5459 pt->x = ptWire[p].x; in _CheckSetShapes()[all …]