15
Drawing Images
Figure 3.2.3.a – Display Image Blocks
For outputting images directly onto the display, there is a
Draw Image
block. This block allows for
an image to be placed at a specified coordinate on the screen.
The image my either be specified directly, or through a port with an
Image Ref
block. The
Image
Ref
can be useful for using application logic to draw either one image or another.
Clearing Screen Area
Sometimes it is helpful to be able to clear an area. There are a few blocks in Raptor™ to help to
help with clearing screen area.
Clear Rect
Figure 3.2.4.a – Block to Clear Screen Area
The
Clear Rect
block works just like the
Fill Rect
block, only rather than covering a particular
area, it is cleared with the background color.