Lines Matching refs:shape
302 xpts[nPts++]= xpts[0]; /* close the shape, if necessary */
322 xpts[nPts++]= xpts[0]; /* close the shape, if necessary */
336 XkbShapePtr shape,
345 for (maxPts=4,o=0,ol=shape->outlines;o<shape->num_outlines;o++,ol++) {
346 if ((shape->num_outlines>1)&&(ol==shape->approx))
354 for (o=0,ol=shape->outlines;o<shape->num_outlines;o++,ol++) {
357 if ((shape->num_outlines>1)&&(ol==shape->approx))
442 XkbShapePtr shape;
447 shape= NULL;
451 shape= XkbShapeDoodadShape(view->xkb->geom,(&doodad->shape));
454 shape= XkbShapeDoodadShape(view->xkb->geom,(&doodad->shape));
460 shape= XkbIndicatorDoodadShape(view->xkb->geom,&doodad->indicator);
464 shape= XkbLogoDoodadShape(view->xkb->geom,&doodad->logo);
468 if (shape)
469 _DrawShape(view,rangle,x,y,x,y,shape,solid);
485 XkbShapePtr shape;
486 shape= XkbKeyShape(view->xkb->geom,key);
489 _DrawShape(view,rangle,x,y,xoff,yoff,shape,True);
490 y+= shape->bounds.y2;
494 _DrawShape(view,rangle,x,y,xoff,yoff,shape,True);
495 x+= shape->bounds.x2;