☜ | MWAPI - Draw CommandsDraft MDC Standard | ☞ |
drawcommand specifies the draw commands that are available for a gadget if the gadget’s DRAWTYPE elattribute has a value equal to "MDRAW".
drawcommand | ::= | │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
drawarc drawbcolor drawbitmap drawbox drawfcolor drawfface drawfillpat drawfsize drawfstyle drawline drawmode drawoval drawpensize drawpicture drawpie drawpoint drawtext drawunits implementationdrawcommand |
│ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
When used in a drawcommand, the unit of measure for the following position or size specifications
is determined by the preceding drawunits drawcommand. Prior to the first drawunits drawcommand for the gadget, the unit of measure is determined by the value of the gadget’s UNITS elattribute. The unit of measure determines how size and position values are converted to pixels.
Positions are relative to the gadget’s origin.
When used in a drawcommand, the unit of measure for the following angle specifications
is degrees with a 0 (zero) value representing a position on the positive horizontal axis. Degrees increase in a counterclockwise direction.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.
This page most recently updated on 14-Nov-2023, 22:08:27.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)