23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

4.5.4 Ellipse and Circle<br />

Ellipses and circles are static picture elements. They can be created in any size with individually adapted colors<br />

in the picture editor. Drawing circles and ellipses is not supported on all displays. This hardware limitation is<br />

taken into account by the editor if necessary.<br />

4.5.4.1 Drawing Circles and Ellipses<br />

Ellipses and circles can be drawn on the display by selecting the ellipse icon from the toolbar and clicking<br />

on the screen. Pressing and holding the mouse button defines the starting point of the ellipse. Releasing the<br />

mouse button defines where the ellipse is finished.<br />

Drawing circles is simplified by holding down the Ctrl key while drawing. The editor ensures that the height and<br />

width is the same and a circle is formed. The line width for a circle is always 1 pixel. The position and size of the<br />

ellipse can be changed after it has been drawn.<br />

Double−clicking on the circle opens up the Object Properties dialog box.<br />

A circle can be drawn over other existing static<br />

pictures. The circle is selected if a dashed rectangle<br />

can be seen around it. It can now be made larger,<br />

smaller, or be moved. Pressing the Del key deletes it.<br />

Static picture elements can be drawn in any desired<br />

layer.<br />

If necessary, an exact ellipse or circle can be drawn<br />

using the Grid or Snap−to−Grid Function.<br />

4.5.4.2 Ellipse and Circle<br />

4.5.4.2.1 Circle and Ellipse Properties<br />

Circles can be drawn in different colors with or without being filled. The 'Object Properties' dialog box is used for<br />

editing the properties of the circle.<br />

Double−clicking on a circle opens the 'Object Properties' dialog box.<br />

Under the Parameter tab, the corner points can be set<br />

for a circle or ellipse. For this, the enveloping<br />

rectangle can be defined in pixels using the Top, Left,<br />

Right, and Bottom settings.<br />

The Status Variable is of data type UINT. For ellipses,<br />

bit 0 is responsible for determining whether the ellipse<br />

is drawn or not.<br />

BIT 0 == 1 − Circle not shown<br />

BIT 0 == 0 − Circle shown<br />

4.5.4 Ellipse and Circle 317

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!