⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 draw.6

📁 操作系统SunOS 4.1.3版本的源码
💻 6
字号:
.\" @(#)draw.6 1.1 88/03/04 SMI;.TH DRAW 6 "4 March 1988".UC 4.SH NAMEdraw, bdraw, cdraw \- interactive graphics drawing.SH SYNOPSIS.B /usr/demo/bdraw.br.B /usr/demo/cdraw.SH DESCRIPTION.IX  "bdraw command"  ""  "\fLbdraw\fP \(em interactive graphics drawing"draw.6:.IX  "cdraw command"  ""  "\fLcdraw\fP \(em interactive graphics drawing"draw.6:.IX  "interactive graphics drawing"  ""  "interactive graphics drawing \(em \fLbdraw\fPThe.I drawprograms are menu-driven programs which use the mouse, keyboard, bitmap displayand optionally the color display to draw objects, drag them around, save themon disk, and so on..B bdrawis the draw program for the black and white display and.B cdrawis the program for driving the color display..LPThe main menu items are selected by moving the mouse cursor and pressing theleft mouse button.  To redraw the display, point at the left edge of the mainmenu box and press the left button.  The main menu items are:.IP "\fBNew Seg xlate\fP" 10Open a new translatable segment. A segment is a collection of attributes andprimitives (lines, text, polygons, etc.).  A translatable segment may subsequently be positioned..IP "\fBNew Seg xform\fP" 10Open a new transformable segment.  A transformable segment may subsequentlybe rotated, scaled, or positioned..IP "\fBDelete Seg\fP" 10To delete a segment, point at any primitive in the segment and press the leftbutton..IP "\fBLines\fP" 10To add line primitives to the currently open segment, position cursor, pressthe left button, ... press right button to quit..IP "\fBPolygon\fP" 10To add a polygon primitive to the currently open segment, position the cursor,press the left button, \fB.\|.\|.\fP press the right button to terminatethe boundary definition.  Polygons are filled with the current fill attribute..IP "\fBRaster\fP" 10To add a raster primitive to the currently open segment, position the cursor,press the left button to reposition the box, adjust the box by moving themouse, press the right button to create the raster primitive comprising theboxed bitmap.  A `rasterfile' is also created on disk for hardcopypurposes (see \fI/usr/include/rasterfile.h\fP).  This `rasterfile' filemay be spooled to a Versatec printer/plotter for  hardcopy after exitingfrom the draw program.  The command to do this is \fBlpr\ \ \-v\ \ rasterfile\fP..IP "\fBText\fP" 10To add a text primitive to the currently open segment, position cursor, pressleft button, type the text string at the keyboard (back space works), hitreturn.  Text is drawn with the current text attributes..IP "\fBMarker\fP" 10To add marker primitives to the currently open segment, position cursor, pressthe left button to place marker, ... press the right button to quit..IP "\fBPosition\fP" 10To position a segment, point at any primitive in the segment, press leftbutton, position the segment, press right button to quit..IP "\fBRotate\fP" 10To rotate a transformable segment, point at any primitive in the segment,press left button, move mouse to rotate, press right button to quit..IP "\fBScale\fP" 10To scale a transformable segment, point at any primitive in the segment, pressthe left button, move mouse to scale in x or y, press right button to quit..IP "\fBAttributes\fP" 10This item brings up the attribute menu.  To select an attribute such as textfont, region fill texture (color), linestyle, or line width, point at theitem and press the left button.  Point at the left edge of the menu box toquit..IP "\fBSave Seg\fP" 10To save a segment on a disk file, point at the segment, press the left button,type the disk file name, hit return..IP "\fBRestore Seg\fP" 10To restore a previously saved segment from disk, type file name, hit return..IP "\fBExit\fP" 10Exit the draw program..SH BUGS.LPRasters and raster text do not scale or rotate.If segments completely overlap, only the last one drawn may be picked bypointing with the mouse.  This also applies to the menu segments!  Therefore,don't cover them up with polygons.If aborted with your interrupt character, you must give the `reset' command to turnkeyboard echo back on and to reset -cbreak.  Therefore, use the Exit itemin the main menu to exit the program.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -