Searched defs:rect (Results 1 - 11 of 11) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1AsciiSink.c304 * RETURNED rect - an X rectangle to return the cursor bounds in.
309 GetCursorBounds(w, rect)
311 XRectangle * rect;
315 rect->width = (unsigned short) insertCursor_width;
316 rect->height = (unsigned short) insertCursor_height;
317 rect->x = sink->ascii_sink.cursor_x - (short) (rect->width / 2);
318 rect->y = sink->ascii_sink.cursor_y - (short) rect->height;
333 XRectangle rect; local
[all...]
H A DXaw3_1Command.c251 XRectangle rect; local
265 rect.x = rect.y = 0;
266 rect.width = cbw->core.width;
267 rect.height = cbw->core.height;
268 XUnionRectWithRegion( &rect, emptyRegion, outerRegion );
269 rect.x = rect.y = cbw->command.highlight_thickness;
270 rect.width -= cbw->command.highlight_thickness * 2;
271 rect
[all...]
H A DXaw3_1Text.c1142 XRectangle rect, t_rect; local
1154 rect.width = (unsigned short) pixels + ctx->text.margin.right;
1155 rect.x = (short) ctx->core.width - (short) rect.width;
1156 rect.y = (short) ctx->text.margin.top;
1157 rect.height = (unsigned short) ctx->core.height - rect.y;
1160 pixels, (int) rect.y,
1161 (unsigned int) rect.x, (unsigned int) ctx->core.height,
1162 0, (int) rect
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DAsciiSink.c328 * RETURNED rect - an X rectangle to return the cursor bounds in.
333 GetCursorBounds(w, rect)
335 XRectangle * rect;
339 rect->width = (unsigned short) insertCursor_width;
340 rect->height = (unsigned short) insertCursor_height;
341 rect->x = sink->ascii_sink.cursor_x - (short) (rect->width / 2);
342 rect->y = sink->ascii_sink.cursor_y - (short) rect->height;
357 XRectangle rect; local
[all...]
H A DCommand.c234 XRectangle rect; local
248 rect.x = rect.y = 0;
249 rect.width = cbw->core.width;
250 rect.height = cbw->core.height;
251 XUnionRectWithRegion( &rect, emptyRegion, outerRegion );
252 rect.x = rect.y = cbw->command.highlight_thickness;
253 rect.width -= cbw->command.highlight_thickness * 2;
254 rect
[all...]
H A DTextSink.c451 * rect - an X rectance containing the cursor bounds.
452 * Returns: none (fills in rect).
457 GetCursorBounds(w, rect)
459 XRectangle * rect;
461 rect->x = rect->y = rect->width = rect->height = 0;
762 * rect - an X rectance containing the cursor bounds.
763 * Returns: none (fills in rect)
769 XawTextSinkGetCursorBounds(Widget w, XRectangle *rect) argument
[all...]
H A DList.c552 XRectangle rect; local
554 rect.x = x;
555 rect.y = lw->list.internal_height;
556 rect.height = lw->core.height - lw->list.internal_height * 2;
557 rect.width = lw->core.width - lw->list.internal_width - x;
558 if ( rect.width > lw->list.longest )
559 rect.width = lw->list.longest;
561 XSetClipRectangles( XtDisplay((Widget)lw),*gc_p,0,0,&rect,1,YXBanded ); local
H A DMultiSink.c352 * RETURNED rect - an X rectangle to return the cursor bounds in.
357 GetCursorBounds(w, rect)
359 XRectangle * rect;
363 rect->width = (unsigned short) insertCursor_width;
364 rect->height = (unsigned short) insertCursor_height;
365 rect->x = sink->multi_sink.cursor_x - (short) (rect->width / 2);
366 rect->y = sink->multi_sink.cursor_y - (short) rect->height;
381 XRectangle rect; local
[all...]
H A DText.c1259 XRectangle rect, t_rect; local
1271 rect.width = (unsigned short) pixels + ctx->text.margin.right;
1272 rect.x = (short) ctx->core.width - (short) rect.width;
1273 rect.y = (short) ctx->text.margin.top;
1274 rect.height = (unsigned short) ctx->core.height - rect.y;
1277 pixels, (int) rect.y,
1278 (unsigned int) rect.x, (unsigned int) ctx->core.height,
1279 0, (int) rect
[all...]
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.c205 XRectangle *rects, *rect, tmprct; local
259 rect = rects =
263 XUnionRectWithRegion(rect++, pWinInfo->region, pWinInfo->region);
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DDPSScrollW.c163 static void AddToDirtyArea(Widget w, float *rect, long n);
371 /* If right of sub is less than right of src, there's a right rect */
499 static void SimplifyRects(float *rect, short *num) argument
506 r = rect + (i * 4);
508 for (k = 4*(i+1); k < *num * 4; k++) rect[k-4] = rect[k];
514 r1 = rect + (j * 4);
517 for (k = 4*(j+1); k < *num * 4; k++) rect[k-4] = rect[k];
521 for (k = 4*(i+1); k < *num * 4; k++) rect[
3094 AddToDirtyArea( Widget w, float *rect, long n) argument
3110 DSWAddToDirtyArea( Widget w, float *rect, long n) argument
[all...]

Completed in 39 milliseconds