Corner Command

Corner( <Number of Corner> )

For number n = 1, 2, 3, 4 creates a point at the corner of the Menu view graphics.svg Graphics View, for n = 5 returns point (w, h), where w and h are width and height of the Graphics View in pixels. Always uses Menu view graphics1.svg first Graphics View, even if second is active.

Corner( <Number of Corner> ) won’t work inside other commands. Instead create eg C_1 = Corner(1) and use that.

Corner( <Graphics View>, <Number of Corner> )

Creates a point at the corner of Menu view graphics.svg Graphics View (1, 2) which is never visible in that view. Supported values of number n are 1, 2, 3, 4 and 5 as above.

Corner( <Graphics View>, <Number of Corner> ) won’t work inside other commands. Instead create eg C_1 = Corner(1, 1) and use that.

Use -1 for the Perspectives algebra 3Dgraphics.svg 3D Graphics View's corners (available values for Number: from 1 to 8). Moreover:

  • Corner(-1,9) returns point (w, h, 0), where w and h are width and height of the 3D Graphics View in pixels

  • Corner(-1,10) returns point (w, h, 0), where w and h are width and height of the main window in pixels

  • Corner(-1,11) returns view direction (for parallel projections) or eye position (for e.g. perspective projection)

  • Corner(-1,12) returns screen left-to-right direction

  • Corner(-1,13) returns scales for x, y and z axes.

Corner( <Image>, <Number of Corner> )

Creates a point at the corner of the image (number n = 1, 2, 3, 4).

Corner( <Text>, <Number of Corner> )

Creates a point at the corner of the text (number n = 1, 2, 3, 4).

  • Corner( <Text>, <Number of Corner> ) won’t work inside the Sequence or Zip commands. Also the Absolute Position on Screen property must be unchecked

  • The numbering of the corners is counter‐clockwise and starts at the lower left corner.