DRAW-BLOCK COMMANDS (23-Jun-2005/15:13:00) ----------------------------------------------- Command Arguments Note ANTI-ALIAS disable [logic!] ARC center [pair!] radius [pair!] angle-begin [decimal!] angle-length [decimal!] closed [word!] ARROW arrow-mode [pair!] possible numbers for combination in pair!:0-none 1-head 2-tail BOX upper-left-point [pair!] lower-right-point [pair!] corner-radius [decimal!] specify only when need rounded-box result CIRCLE center [Pair!] radius-x [decimal!] radius-y [decimal!] CLIP upper-left-point [pair!] lower-right-point [pair!] CURVE point1 [pair!] point2 [pair!] point3 [pair!] point4 [pair!] ELLIPSE center [pair!] radius [pair!] note: X and Y radius is specified by pair! unlike in CIRCLE command FILL-PEN color [tuple!] grad-mode [word!] possible modes: radial conic diamond linear (x) diagonal (xy) cubic (square-root xy) grad-offset [pair!] grad-start-rng [decimal!] grad-stop-rng [decimal!] grad-angle [decimal!] grad-scale-x [decimal!] grad-scale-y [decimal!] grad-color1 [tuple!] grad-color2 [tuple!] grad-color3 [tuple!]... image [image!] uses image as filling pattern FILL-RULE mode [word!] possible modes: non-zero even-odd FONT font-object [object!] GAMMA gamma-value [decimal!] INVERT-MATRIX IMAGE image [image!] upper-left-point [pair!] upper-right-point [pair!] lower-left-point [pair!] lower-right-point [pair!] key-color [tuple!] border [word!] IMAGE-FILTER filter-type [word!] modes: nearest bilinear LINE point1 [pair!] point2 [pair!] point3 [pair!] ... LINE-CAP mode [word!] modes: butt square round LINE-JOIN mode [word!] modes: miter miter-bevel round bevel LINE-PATTERN stroke-size [decimal!] dash-size [decimal!] stroke-size [decimal!] dash-size [decimal!] ... LINE-WIDTH width [decimal!] MATRIX matrix-setup [block!] PEN stroke-color [tuple!] dash-color [tuple!] image [image!] POLYGON point1 [pair!] point2 [pair!] point3 [pair!] ... PUSH draw-block [block!] note: stores matrix setup in stack POP RESET-MATRIX ROTATE angle [decimal!] SCALE scale-x [decimal!] scale-y [decimal!] SHAPE shape-cmd-block [block!] SKEW val [decimal!] SPLINE segmentation [integer!] closed [word!] point1 [pair!] point2 [pair!] ... TEXT text-string [string!] offset [pair!] render-mode [word!] modes: anti-aliased vectorial (can be transformed and with possible stroke/dashes etc.) aliased TRANSFORM angle [decimal!] center [pair!] scale-x [decimal!] scale-y [decimal!] translation [pair!] TRANSLATE offset [pair!] TRIANGLE vertex1 [pair!] vertex2 [pair!] vertex3 [pair!] color1 [tuple!] color2 [tuple!] color3 [tuple!] dilatation [decimal!] this is useful to eliminate anitaliased edges in some cases SHAPE-BLOCK COMMANDS -------------------- Command Arguments Note ARC point1 [pair!] LARGE and SWEEP should be keywords too radius-x [decimal!] radius-y [decimal!] angle [decimal!] sweep [logic!] large [logic!] CURV point1 [pair!] point2 [pair!] point1 [pair!] ... CURVE point1 [pair!] point2 [pair!] point3 [pair!] point1 [pair!] ... HLINE length [decimal!] LINE point1 [pair!] point2 [pair!] point3 [pair!] point4 [pair!] ... MOVE point1 [pair!] QCURV point1 [pair!] QCURVE point1 [pair!] point2 [pair!] point1 [pair!] ... VLINE length [decimal!]