Instance Method

canvasPixelAspectRatio

Returns the pixel aspect ratio of the canvas.

Required.

Declaration

- (double)canvasPixelAspectRatio;

Return Value

The pixel aspect ratio of the canvas.

Discussion

This can change if the user sets the canvas to be viewed with or without pixel aspect ratio correction, so do not cache this value.

See Also

Canvas Information

- canvasZoom

Returns the zoom factor the user has set the canvas

Required.

- pixelAspectRatio

Returns the pixel aspect ratio for which the on-screen control applies.

Required.

- objectBounds

Returns the bounds of the object that the on-screen control applies to.

Required.

- objectToScreenTransform

Returns a 4x4 matrix describing the transformation from object normalized space

Required.