DRAWING COMMANDS
|
SYNTAX
DEFINE BRUSH <cBrush> [STYLE <Style>] [COLOR <Clr>] [HATCH <Hatch>]
CHANGE BRUSH <cBrush> [STYLE <Style>] [COLOR <Clr>] [HATCH <Hatch>]
SELECT BRUSH <cBrush>
DEFINE PEN <cPen> [STYLE <Style>] [WIDTH <Width>] [COLOR <Clr>]
CHANGE PEN <cPen> [STYLE <Style>] [WIDTH <Width>] [COLOR <Clr>]
SELECT PEN <cPen> => hbprn:selectpen( <cPen> )
@ <Row>,<Col>,<Row2>,<Col2> DRAW TEXT <cTxt> [STYLE <Style>] [FONT <cFont>]
@ <Row>,<Col> TEXTOUT <cTxt> [FONT <cFont>]
@ <Row>,<Col>,<Row2>,<Col2> RECTANGLE [PEN <cPen>] [BRUSH <cBrush>]
@ <Row>,<Col>,<Row2>,<Col2> FILLRECT [BRUSH <cBrush>]
@ <Row>,<Col>,<Row2>,<Col2> ROUNDRECT [ROUNDR <tor>] [ROUNDC <toc>] [PEN <cPen>] [BRUSH <cBrush>]
@ <Row>,<Col>,<Row2>,<Col2> FRAMERECT [BRUSH <cBrush>]
@ <Row>,<Col>,<Row2>,<Col2> INVERTRECT
@ <Row>,<Col>,<Row2>,<Col2> ELLIPSE [PEN <cpen>] [BRUSH <cbrush>]
@ <Row>,<Col>,<Row2>,<Col2> ARC RADIAL1 <Row3>,<Col3> RADIAL2 <Row4>,<Col4> [PEN <cPen>]
@ <Row>,<Col> ARCTO RADIAL1 <Row3>,<Col3> RADIAL2 <Row4>,<Col4> [PEN <cPen>]
@ <Row>,<Col>,<Row2>,<Col2> CHORD RADIAL1 <Row3>,<Col3> RADIAL2 <Row4>,<Col4> [PEN <cPen>] [BRUSH <cBrush>]
@ <Row>,<Col>,<Row2>,<Col2> PIE RADIAL1 <Row3>,<Col3> RADIAL2 <Row4>,<Col4> [PEN <cPen>] [BRUSH <cBrush>]
POLYGON <aPoints> [PEN <cPen>] [BRUSH <cBrush>] [STYLE <Style>]
POLYBEZIER <aPoints> [PEN <cPen>]
POLYBEZIERTO <aPoints> [PEN <cPen>]
DEFINE RECT REGION <cReg> AT <Row>,<Col>,<Row2>,<Col2>
DEFINE POLYGON REGION <cReg> VERTEX <aPoints> [STYLE <Style>]
DEFINE ELLIPTIC REGION <cReg> AT <Row>,<Col>,<Row2>,<Col2>
DEFINE ROUNDRECT REGION <cReg> AT <Row>,<Col>,<Row2>,<Col2> ELLIPSE <eWidth>,<eHeight>
COMBINE REGIONS <cReg1>,<cReg2> TO <cReg> [STYLE <Style> ]
SELECT CLIP REGION <cReg>
DELETE CLIP REGION
SET POLYFILL MODE <Mode>
SET POLYFILL ALTERNATE
SET POLYFILL WINDING
GET POLYFILL MODE TO <Mode>
SET VIEWPORTORG <Row>,<Col>
GET VIEWPORTORG TO <aViewPort>
SET RGB <Red>,<Green>,<Blue> TO <nrgb>