Lines Matching refs:extents
183 BoxRec extents; in CreateBoundingShape() local
185 extents.x1 = -wBorderWidth(pWin); in CreateBoundingShape()
186 extents.y1 = -wBorderWidth(pWin); in CreateBoundingShape()
187 extents.x2 = pWin->drawable.width + wBorderWidth(pWin); in CreateBoundingShape()
188 extents.y2 = pWin->drawable.height + wBorderWidth(pWin); in CreateBoundingShape()
189 return RegionCreate(&extents, 1); in CreateBoundingShape()
195 BoxRec extents; in CreateClipShape() local
197 extents.x1 = 0; in CreateClipShape()
198 extents.y1 = 0; in CreateClipShape()
199 extents.x2 = pWin->drawable.width; in CreateClipShape()
200 extents.y2 = pWin->drawable.height; in CreateClipShape()
201 return RegionCreate(&extents, 1); in CreateClipShape()
627 BoxRec extents, *pExtents; in ProcShapeQueryExtents() local
645 extents = *pExtents; in ProcShapeQueryExtents()
648 extents.x1 = -wBorderWidth(pWin); in ProcShapeQueryExtents()
649 extents.y1 = -wBorderWidth(pWin); in ProcShapeQueryExtents()
650 extents.x2 = pWin->drawable.width + wBorderWidth(pWin); in ProcShapeQueryExtents()
651 extents.y2 = pWin->drawable.height + wBorderWidth(pWin); in ProcShapeQueryExtents()
653 rep.xBoundingShape = extents.x1; in ProcShapeQueryExtents()
654 rep.yBoundingShape = extents.y1; in ProcShapeQueryExtents()
655 rep.widthBoundingShape = extents.x2 - extents.x1; in ProcShapeQueryExtents()
656 rep.heightBoundingShape = extents.y2 - extents.y1; in ProcShapeQueryExtents()
660 extents = *pExtents; in ProcShapeQueryExtents()
663 extents.x1 = 0; in ProcShapeQueryExtents()
664 extents.y1 = 0; in ProcShapeQueryExtents()
665 extents.x2 = pWin->drawable.width; in ProcShapeQueryExtents()
666 extents.y2 = pWin->drawable.height; in ProcShapeQueryExtents()
668 rep.xClipShape = extents.x1; in ProcShapeQueryExtents()
669 rep.yClipShape = extents.y1; in ProcShapeQueryExtents()
670 rep.widthClipShape = extents.x2 - extents.x1; in ProcShapeQueryExtents()
671 rep.heightClipShape = extents.y2 - extents.y1; in ProcShapeQueryExtents()
829 BoxRec extents; in SendShapeNotify() local
842 extents = *RegionExtents(region); in SendShapeNotify()
846 extents.x1 = -wBorderWidth(pWin); in SendShapeNotify()
847 extents.y1 = -wBorderWidth(pWin); in SendShapeNotify()
848 extents.x2 = pWin->drawable.width + wBorderWidth(pWin); in SendShapeNotify()
849 extents.y2 = pWin->drawable.height + wBorderWidth(pWin); in SendShapeNotify()
856 extents = *RegionExtents(region); in SendShapeNotify()
860 extents.x1 = 0; in SendShapeNotify()
861 extents.y1 = 0; in SendShapeNotify()
862 extents.x2 = pWin->drawable.width; in SendShapeNotify()
863 extents.y2 = pWin->drawable.height; in SendShapeNotify()
870 extents = *RegionExtents(region); in SendShapeNotify()
874 extents.x1 = -wBorderWidth(pWin); in SendShapeNotify()
875 extents.y1 = -wBorderWidth(pWin); in SendShapeNotify()
876 extents.x2 = pWin->drawable.width + wBorderWidth(pWin); in SendShapeNotify()
877 extents.y2 = pWin->drawable.height + wBorderWidth(pWin); in SendShapeNotify()
890 .x = extents.x1, in SendShapeNotify()
891 .y = extents.y1, in SendShapeNotify()
892 .width = extents.x2 - extents.x1, in SendShapeNotify()
893 .height = extents.y2 - extents.y1, in SendShapeNotify()