05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CONFIGURING THE COLOR VIRTUAL HMI<br />

ALIGNING PRIMITIVES<br />

ALIGNING PRIMITIVES<br />

While the Smart Alignment options discussed above allow many alignment operations to be<br />

performed by hand, there are times that you will want the software to perform the alignment<br />

for you. This can be done by selecting a number of primitives, starting with the primitive that<br />

you wish to use as the reference point for the alignment operation. Note that the reference<br />

primitive is always shown with a double-square at its center. Once you have made your<br />

selection, use the Align command on the Arrange menu to display the following dialog box…<br />

The Horizontal and Vertical settings can be used to indicate what type of alignment is to be<br />

performed, while the Operation setting indicates whether the primitives should be resized or<br />

moved to achieve the desired result.<br />

As an example, in Move mode, selecting Left for Horizontal will align the left-hand edges of<br />

all the primitives with the left-hand edge of the reference primitive. Similarly, selecting<br />

Middle for vertical will align the primitives so that the horizontal line through the center of<br />

each are aligned with the same line through the center of the reference primitive.<br />

In Size mode, the edge-alignment operations work by growing the non-reference primitives in<br />

order to achieve the desired results, while the center-alignment operations work by changing<br />

the height or width of the primitives to make them match the reference primitive. You may<br />

want to experiment with Size mode to get a better idea of its operation.<br />

SPACING PRIMITIVES<br />

If you have a number of primitives that you wish to space equally on the page, you may use<br />

the Space Equally Vertical or Space Equally Horizontal commands on the Arrange menu. The<br />

commands work on the currently selected primitives, and attempt to reallocate the free space<br />

between the items to achieve equal spacing. The two outer primitives will be left in their<br />

current positions. Note that the command may fail if an inappropriate set of primitives are<br />

selected, and may not achieve perfect spacing if the available space is too limited.<br />

REORDERING PRIMITIVES<br />

Primitives on a display page are stored in what is known as a z-order. This defines the<br />

sequence in which the primitives are drawn, and therefore whether or not a given primitive<br />

appears to be in front of or behind another primitive. In the first example below, the blue<br />

square is shown behind the red squares ie. at the bottom of the z-order. In the second<br />

example, it has been moved to the front of the order, and appears in front of the other figures.<br />

REVISION 6 PAGE 163

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

Saved successfully!

Ooh no, something went wrong!