Raptor-Dev-Display-Drawing-Functions

From NewEagleWiki
Jump to navigation Jump to search

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Display Libraries > Raptor-Dev Display Drawing Functions

Raptor™ Display Drawing Functions

The blocks in this subsystem are used to draw elements on the screen. The blocks can be linked together using the previous/next ports to ensure the execution order of the drawing commands.

Blocks

Block Description Appearance
Clear Screen

This block clears both layers of the screen.

Clear Screen block
Clear Screen block
Draw Arc

This block draws an arc on the screen.

Draw Arc block
Draw Arc block
Draw Circle

This block draws a circle on the screen.

Draw Circle block
Draw Circle block
Draw Image

This block draws an image in the screen.

Draw Image block
Draw Image block
Draw Line

This block draws a line on the screen.

Draw Line block
Draw Line block
Draw Polygon

This block draws a polygon on the screen. The points of the polygon are in X,Y pairs.

Draw Polygon block
Draw Polygon block
Draw Rectangle

This block draws a rectangle on the screen.

Draw Rectangle block
Draw Rectangle block
Draw Text

This block draws text on the screen.

Draw Text block
Draw Text block
Element

This block automatically clears the portions of the screen drawn by the blocks in its FnCall output during the previous time step. It can be used in the draw foreground function to avoid the need to explicitely clear the screen. This block has some specific settings requirements for the model.

Element block
Element block
Fill Circle

This block draws a filled circle on the screen.

Fill Circle block
Fill Circle block
Fill Ellipse

This block draws a filled ellipse on the screen.

Fill Ellipse block
Fill Ellipse block
Fill Polygon

This block draws a filled polygon on the screen.

Fill Polygon block
Fill Polygon block
Fill Rectangle

This block draws a filled rectangle on the screen.

Fill Rectangle block
Fill Rectangle block
Image Reference

This block outputs an image reference which can be used with the Draw Image or Button Bar Setup Button blocks.

Image Reference block
Image Reference block