Please enable JavaScript to view this site.

ESL Documentation

Every object has its own coordinate system, and all positions inside an object are specified using the coordinate system of that object. The object's origin, or starting position, is specified by the X coordinate (its position from left to right in a horizontal direction) and the Y coordinate (its position from bottom to top in a vertical direction) in the coordinate system of its parent. However, dialog regions are always defined in dialog units no matter what the coordinate system of the parent may be.

 

The starting point for that object's own coordinate system is 0 0. This is the position at which ESL starts drawing the object. For example, the object definition:

 

key Logo at position 150 250

 

specifies a starting position (origin) for Logo as the point that is

150 positions in the X direction and 250 positions in the Y direction, measured from 0 0 at the lower left corner of the screen. Position 150 250 in the coordinate system of the ESL screen is equivalent to position 0 0, the origin of Logo, in the coordinate system of Logo. The origin of Logo is shown below:

 

_img250