scale#

logo.scale(p0: float, p1: float) int#

Scales the selected logo up or down in x and y dimensions

Args:
p0:

‘x_val’ Can be any value between 0 and infinity, with a value of one specifying no change, values less than one specifying shrinkage and values greater than one specifying expansion.

p1:

‘y_val’ Can be any value between 0 and infinity, with a value of one specifying no change, values less than one specifying shrinkage and values greater than one specifying expansion.

Examples:
ensight.logo.new_logo("/usr/tmp/mylogo.xpm")
ensight.logo.location_x(0.5)
ensight.logo.location_y(0.6)
ensight.logo.scale(2.5,2)
Returns:

zero on success, non-zero on error