描画プリミティブ: void XtDrawPoint(w, x, y); void XtDrawPoints(w, points, npoints, mode); void XtDrawLine(w, x1, y1, x2, y2); void XtDrawLines(w, points, npoints, mode); void XtDrawSegments(w, segments, nsegments); void XtDrawRectangle(w, x, y, width, height); void XtDrawRectangles(w, rectangles, nrectangles); void XtDrawArc(w, x, y, width, height, angle1, angle2); void XtDrawArcs(w, arcs, narcs); void XtDrawString(w, x, y, string, length); void XtDrawImageString(w, x, y, string, length); void XtDrawFillRectangle(w, x, y, width, height); void XtDrawFillRectangles(w, rectangles, nrectangles); void XtDrawFillPolygon(w, points, npoints, shape, mode); void XtDrawFillArc(w, x, y, width, height, angle1, angle2); void XtDrawFillArcs(w, arcs, narcs); void XtDrawCopyArea(w, src_x, src_y, width, height, dest_x, dest_y); void XtDrawClearArea(w, x, y, width, height, exposures); void XtDrawCopyBitmap(w, bitmap, dest_x, dest_y);
GCの記憶と再呼び出し: int XtDrawStoreGC(w, nth); int XtDrawRecallGC(w, nth);
GCを変更するオペレ−ション: void XtDrawSetParam(w, which, value); XtDrawFillStyle XtDrawFillRule XtDrawSetArcMode XtDrawResourceFont XtDrawResourceColor XtDrawResourceForeground XtDrawResourceBackground XtDrawTileForeground XtDrawTileBackground XtDrawLineWidth XtDrawLineStyle XtDrawJoinStyle XtDrawCapStyle XtDrawResourceStipple XtDrawResourceTile void XtDrawSetTSOrigin(w, x, y); void XtDrawSetDashes(w, dash_offset, dash_list, n);
Miscellanous: void XtDrawClear(w); void XtDrawRepaint(w); void XtDrawFlush(w);
プリミティブの削除: void XtDrawDeleteLine(w, x1, y1, x2, y2);
ポインタの位置の問い合わせ: void XtDrawGetXY(w, x, y); void XtDrawQueryPointer(w, x, y);
ラバ−モ−ド: void XtDrawSetRubberGC(w); void XtDrawUnsetRubberGC(w);
テキスト・エクステントの問い合わせ: void XtDrawFontExtents(w, direction, ascent, descent); void XtDrawStringExtents(w, string, width, ascent, descent);
ビットマップ・エクステントの問い合わせ: void XtDrawBitmapExtents(w, nof_bitmap, width, height);
ウインドウの中身のダンプ/アンダンプ: char *XtDrawReadWindowDump(w, xsrc, ysrc, width, height, xdest, ydest, filename) char *XtDrawWriteWindowDump(w, filename) int xtDrawQueryDumpFile(w, width, height)
| 冒頭へ |
|