# Subcommands

POSITION Subcommand
```POSITION LPOS [[(+) |(–)] horiz {IN | MM | CM | POINTS | PELS}]
NEXT [{LPOS | CPOS} [(+) | (–)] vert {IN | MM | CM | POINTS | PELS}]```
Specifies the horizontal and vertical position of the ellipse.
LPOS
Specifies the layout position. If LPOS is used alone, the position is the same position as is specified on the LAYOUT command. If it is used with a + or - value, the position moves that amount from the LAYOUT position.
CPOS
Specifies the current position. If CPOS is used alone, the position is the same position as is specified on the previous FIELD or DRAWGRAPHIC command command. If it is used with a + or - value, the position moves that amount from the FIELD or DRAWGRAPHIC command position.
AXIS1 Subcommand
```AXIS1 [(+) | (–)] n [IN | MM | CM | POINTS | PELS]
[(+) | (–)] n [IN | MM | CM | POINTS | PELS]```
Specifies the location of one point on the ellipse specified in relation to the POSITION parameter on this command. This location is specified as if the POSITION parameter is now at (0,0) on a coordinate system. The x and y movements are either in the positive or negative direction from the center point at (0,0). For a picture of how this is used, see Figure Ellipse Parameters, point R,Q.
AXIS2 Subcommand
```AXIS2 [(+) | (–)] n [IN | MM | CM | POINTS | PELS]
[(+) | (–)] n [IN | MM | CM | POINTS | PELS]```
Specifies the location of a second point on the ellipse specified in relation to the POSITION parameter on this command. This location is specified as if the POSITION parameter is now at (0,0) on a coordinate system. The x and y movements are either in the positive or negative direction from the center point at (0,0). For a picture of how this is used, see Figure Ellipse Parameters, point P,S.
LINEWT Subcommand
`LINEWT [MEDIUM | LIGHT | BOLD | n]`
Specifes the weight of the line either as one of the following keywords or in lineweights (1 lineweight = .01 inch). Specify 0 if you want invisible borders (type and color are then ignored).
The same as LINEWT 1 (.01 inch)
MEDIUM
LIGHT
The same as LINEWT 2 (0.2 inch
BOLD
the same as LINEWT 3 (.03 inch)
LINETYPE Subcommand
```LINETYPE [SOLID | DOTTED | SHORTDASH | DASHDOT | DBLDOT | LONGDASH |
DSHDBLDOT] [COLOR colorname]```
Specifies the line type using one of these keywords:
• SOLID
• DOTTED
• SHORTDASH
• DASHDOT
• DBLDOT (double dot)
• LONGDASH
• DSHDBLDOT (dash double dot)
COLORcolorname
Specifies the color to be used for the line. The color name must be either one of the pre-defined OCA keywords or the color name from the DEFINE COLOR command.
FILL Subcommand
```[FILL [SOLID | NOFILL | DOT01 | DOT02 | DOT03 |
DOT04 | DOT05 | DOT06 | DOT07 | DOT08 | VERTLN | HORZLN |
BLTR1 | BLTR2 | TLBR1 | TLBR2] [COLOR colorname]]…```
Specifies that the ellipse is to be filled with a pre-defined GOCA pattern and optionally specifies a filling color. For an example of the various GOCA-supported fill patterns, see Fill Patterns for DRAWGRAPHIC Commands.

#### Ellipse Parameters

The dot in the center of the ellipse shows the POSITION parameter. The asterisk shows the major axis position and star shows the minor axis position.

RENDER Subcommand
`RENDER {PERCEPTUAL | SATURATION | RELCM | ABSCM}`
Specifies the rendering intent (RI) for a defined graphic (GOCA) object within a page definition. RI is used to modify the final appearance of color data and is defined by the International Color Consortium (ICC).
Note:
2. See the current level of the ICC Specification for more information on RI.
PERCEPTUAL
Perceptual rendering intent. It can be abbreviated as PERCP. With this rendering intent, gamut mapping is vendor-specific, and colors are adjusted to give a pleasing appearance. This intent is typically used to render continuous-tone images.
SATURATION
Saturation rendering intent. It can be abbreviated as SATUR. With this rendering intent, gamut mapping is vendor-specific, and colors are adjusted to emphasize saturation. This intent results in vivid colors and is typically used for business graphics.
RELCM
Media-relative colorimetric rendering intent. In-gamut colors are rendered accurately, and out-of-gamut colors are mapped to the nearest value within the gamut. Colors are rendered with respect to the source white point and are adjusted for the media white point. Therefore colors printed on two different media with different white points won't match colorimetrically, but may match visually. This intent is typically used for vector graphics.
ABSCM
ICC-absolute colorimetric rendering intent. In-gamut colors are rendered accurately, and out-of-gamut colors are mapped to the nearest value within the gamut. Colors are rendered only with respect to the source white point and are not adjusted for the media white point. Therefore colors printed on two different media with different white points should match colorimetrically, but may not match visually. This intent is typically used for logos.
CMR Subcommand
`[CMR cmrlname {AUDIT | INSTR | LINK}]…`
Specifies a Color management resource (CMR) and its process mode for a graphics object within the page definition.
cmr-lname
The CMR local name. This name must have been defined with a DEFINE CMRNAME command.
Note: This parameter must immediately follow the CMR keyword.
Processing mode parameter
Specify the processing mode for the CMR.
AUDIT
Process this CMR as an audit CMR.
INSTR
Process this CMR as an instruction CMR.
Process this CMR as a link CMR. This processing mode is only valid for device link (DL) CMRs.

Code Example: The following examples show how to define CMRs and rendering intent for graphics objects. Rendering intent and a CMR are defined for Record Format and XML page definitions. These are the only two page definition types for which DRAWGRAPHIC commands are legal.

```  DEFINE mycmr  CMRNAME ... ;

PAGEDEF cmr11L  REPLACE yes;
FONT f1;
LAYOUT 'L1';
DRAWGRAPHIC BOX  BOXSIZE 1 in 2 in
RENDER relcm CMR  myCMR audit;

PAGEDEF cmr11X  REPLACE yes;
FONT f1 TYPE ebcdic;
XLAYOUT QTAG 'x1';
DRAWGRAPHIC BOX  BOXSIZE 1 in 2 in
RENDER relcm CMR  myCMR audit;```