Screen Painting
With this option, the Sourcerer will help you draw various graphics objects on the screen. The objects include
- A line
- A rectangle
- A rounded rectangle
- An arc
- A filled rectangle
- A filled rounded rectangle
- A filled arc
- An image
- A text string
Each object will require a location as well as some additional information to draw it on the screen. Objects will be drawn with the current color and penstroke. The penstroke is a way of choosing dotted or solid lines.
In addition to the drawing options, there are several other possible operations which may have an effect on drawing:
- Get current font
- Get information about a font
- Set font
- Get red component of current color
- Get green component of current color
- Get blue component of current color
- Set color
- Set penstroke type
- Get penstroke type
Fonts in the MID Profile are not standard fonts like Arial, Helvetica, or Times as are found on desktop platforms. Rather, fonts are a set of characteristics, such as small, large, bold, etc. whose implementation is device dependent.
| Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |