Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - Draw Commands

Draft MDC Standard

7.2 Draw Commands

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.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

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)