☜ | MWAPI - ColorsDraft MDC Standard | ☞ |
Color specifications have three components: a red value, a green value, and a blue value.
color | ::= | expr | V | │ │ │ |
rcolor , gcolor , bcolor emptystring |
│ │ │ |
rcolor | ::= | intlit |
gcolor | ::= | intlit |
bcolor | ::= | intlit |
identifies a specific color. rcolor specifies the amount of red, gcolor specifies the amount of green, and bcolor specifies the amount of blue. rcolor, gcolor, and bcolor values are restricted to a range of 0, meaning no color, through 65535, meaning full color.
A color value of "0,0,0" signifies black; a color value of "65535,65535,65535" indicates white; and a color value with identical rcolor, gcolor, and bcolor values signifies a shade of grey.
Appropriate scaling from the 0 to 65535 range to the color domain of the underlying windowing platform or hardware is performed automatically by the MWAPI.
A color value of the form emptystring indicates that the appropriate default color from the underlying windowing platform should be used. If the underlying windowing platform does not provide an appropriate default, the color is determined by the MWAPI implementation.
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, 21:53:39.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)