Coordinates
This page is currently incomplete, but you can find information about this topic at the links below:

- adjustxy( -- The adjustxy( function adjusts the four corners of a rectangle. However, only corners that are inside a boundary are adjusted. Corners outside the boundary are left alone.
- h( -- The h( function extracts the horizontal position from a point (see point(, Graphic Coordinates).
- info("availablescreenrectangle") -- The info("availablescreenrectangle") function returns a rectangle defining the edges of the main screen, after deducting for the space of the menu bar and dock (if visible).
- info("formxy") -- The info("formxy") function returns a point that indicates how much the current form is scrolled (if at all).
- info("screenrectangle") -- The info("screenrectangle") function returns a rectangle defining the edges of the main screen.
- inrectangle( -- The inrectangle( function checks to see if a point is inside a rectangle.
- integralpoint( -- The integralpoint( function converts point coordinates to integers.
- integralrectangle( -- The integralrectangle( function converts rectangle coordinates to integers.
- intersectionrectangle( -- The intersectionrectangle( function creates a rectangle by combining two rectangles. The new rectangle is the area where the two rectangles overlap (if any).
- maprectangle( -- The maprectangle( function maps the position and size of a rectangle within a template rectangle into the same relative position and size within a goal rectangle.
- nsrect( -- The nsrect( function defines a rectangle using the same parameter order as the Cocoa NSMakeRect( function.
- nsrectstr( -- The nsrectstr( function converts a rectangle into text in the format x,y,width,height
- pinrectangle( -- The pinrectangle( function pins a rectangle within the bounds of a larger rectangle.
- point( -- The point( function combines vertical and horizontal co-ordinates into a single binary value that describes the position of a point (see Graphic Coordinates).
- rbottom( -- The rbottom( function extracts the position of the bottom edge of a rectangle (see rectangle(, Graphic Coordinates).
- rectangle( -- The rectangle( function defines a rectangle from four dimensions.
- rectangleadjust( -- The rectangleadjust( function adjusts all four edges of a rectangle independently
- rectanglecenter( -- The rectanglecenter( function adjusts a rectangle so that it is centered inside of another rectangle.
- rectangleinset( -- The rectangleinset( function insets a rectangle by a specified amount.
- rectangleoffset( -- The rectangleoffset( function offsets a rectangle to a new position.
- rectanglesize( -- The rectanglesize( function defines a rectangle from its upper left hand corner and its height and width.
- rectanglesizestr( -- The rectanglesizestr( function converts a rectangle into text in the format top,left,height,width.
- rectanglestr( -- The rectanglestr( function converts a rectangle into text in the format top,left,bottom,right.
- rectangletweak( -- The rectangletweak( function transforms a rectangle by changing its position and/or size.
- rheight( -- The rheight( function extracts the height of a rectangle (see rectangle(, Graphic Coordinates).
- rleft( -- The rleft( function extracts the position of the left edge of a rectangle (see rectangle(, Graphic Coordinates).
- rright( -- The rright( function extracts the position of the right edge of a rectangle (see rectangle(, Graphic Coordinates).
- rtop( -- The rtop( function extracts the position of the top edge of a rectangle (see rectangle(, Graphic Coordinates).
- rwidth( -- The rwidth( function extracts the width of a rectangle (see rectangle(, Graphic Coordinates).
- setrectangleheight( -- The setrectangleheight( function changes the height of a rectangle, leaving the width unchanged.
- setrectanglesize( -- The setrectanglesize( function changes the height and width of a rectangle, leaving the position of the top left hand corner unchanged.
- setrectanglewidth( -- The setrectanglewidth( function changes the width of a rectangle, leaving the height unchanged.
- unionrectangle( -- The unionrectangle( function creates a rectangle by combining two rectangles. The new rectangle is large enough to exactly cover both of the input rectangles.
- v( -- The v( function returns the vertical position of a point (see point(, Graphic Coordinates).
- xytoxy( -- The xytoxy( function converts a point or rectangle from one co-ordinate system to another.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, with some updates.