yScale

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the yScale of <EPSObject> to <number>
Summary

Specifies the ratio of the height of an EPS object's postScript bounding box to the object's screen height.

Introduced1.0
OSlinux
Platformsdesktop
Example
set the yScale of last EPS to 2 -- PS image twice the height of screen
set the yScale of EPS "Guido" to 0.25 -- one-fourth the height
Values
NameTypeDescription
Value

The yScale of an EPS object is a positive number.

RelatedProperty: scaleIndependently, postScript, scale
Glossary: EPS, property, object
Description

Use the yScale property to control an EPS object's screen appearance.

The number 1 indicates no scaling--that is, the EPS object's height is the same as the height specified by the postScript code it contains. Numbers greater than one indicate that the object's height is less than the postScript height; the screen object is scaled down. Numbers less than one indicate that the object's height is greater than the postScript height, and the screen object is scaled up from the postScript.

In geometric terms, yScale = yExtent/height.

If the object's scaleIndependently property is false, the yScale property is equal to the scale of the object.

This property is supported only on Unix systems with Display PostScript installed.

Tagsmultimedia