| 
 
 
NMRWish Built-In TCL FunctionsdrawText: Draw text in the spectral graphics area of the screen or a PostScript page.
 
 
 | 
Color and Overlay Options:
| Flag | Argument | Default | Description |  
|  -x | x0 | 0 | X Coord of Text. |  
|  -y | y0 | 0 | Y Coord of Text. |  
|  -text | txtLine |  | Line of Text to Display. |  
|  -left |  |  | Left Justify Text (Default). |  
|  -center |  |  | Center Text. |  
|  -right |  |  | Right Justify Text. |  
|  -big |  |  | Use larger Font Size. |  
|  -small |  |  | Use smaller Font Size. |  
|  -left |  |  | Left-Justify (Default). |  
|  -right |  |  | Right-Justify (Hard-Copy Only). |  
|  -center |  |  | Centered (Hard-Copy Only). |  
|  -rotate | deg | 0.0 | Rotation, Degrees (Hard-Copy Only). |  
 
TCL/TK Graphics Window Arguments:
|  -fg | fgClr | yellow | Foreground Color Name. |  
|  -bg | bgClr | none | Background Color Name. |  
|  -mask | mVal | -1 | Plane Mask. -1=All Planes. |  
|  -x11GX | xID | copy | X11 Draw Mode ID/Keyword. |  
 
Graphics Size and Offsets:
|  -win | wID | 1 | Canvas Window ID. |  
|  -update |  |  | Flush graphics after drawing. |  
|  -noupdate |  |  | Don`t flush graphics after drawing. |  
 
Graphics Coords In Terms of ROI Spectral Location:
|  -xOff | xOff | 0.0 | Additional X Offset. Default Unit is Character Size. |  
|  -yOff | yOff | 0.0 | Additional Y Offset. Default Unit is Character Size. |  
|  -thick |  |  | Use thick line width. |  
|  -thin |  |  | Use thin line width. |  
 
Graphics Coords In Terms of Existing Cell:
|  -roiX | roiXID |  | ROI ID for Graphic X Coord. |  
|  -roiY | roiYID |  | ROI ID for Graphic Y Coord. |  
|  -roiRef | roiID |  | Sets Both -roiX and -roiY. |  
|  -fold |  |  | Use Folding of Coords (Default). |  
|  -nofold |  |  | No Folding of Coords. |  
 
Arguments for Report Generation:
|  -cellX | cellXID |  | Cell ID for Graphic X Coord. |  
|  -cellY | cellYID |  | Cell ID for Graphic Y Coord. |  
|  -cell | cellID |  | Sets Both -cellX and -cellY. |  
|  -clip |  |  | Clip to Extent of Cell. |  
|  -noclip |  |  | No Clipping. |  
 
Notes on Graphics Coordinates:
|  -noverb |  |  | Verbose Mode Off. |  
|  -verb |  |  | Verbose Mode On. |  X Coord Increases from Left to Right.
 Y Coord Increases from Top to Bottom.
 Units:
 No Label = Pixels, Absolute Coordinate.
 pix      = Pixels, Absolute Coordinate.
 in       = Inches, Relative to Cell.
 cm       = Centimeter, Relative to Cell.
 mm       = Millimeter, Relative to Cell.
 c1       = Char Size of Small Font, Relative to Cell.
 c2       = Char Size of Big Font, Relative to Cell.
 %       = Percent of Screen, Relative to Cell.
 Display Region Aspect Ratios:
 [ppm|Hz|Pts|%]/[Pix|In|cm|mm|c1|c2|%]
 
 
 | 
 |