# TransPixelToFixture

Converts a point in Pixel coordinates to Fixture coordinates.

Inputs

Parameter | Description
Fixture | Specifies the fixture coordinate system.
X | The X-offset of the origin, in fixture coordinates.
Y | The Y-offset of the origin, in fixture coordinates.
Theta | The rotation from the image X-axis, in the image coordinate system. (+/-360 degrees clockwise)
Point | Specifies the coordinates of the point, in pixel coordinates.
X | X-offset from the fixture origin.
Y | Y-offset from the fixture origin.
Show | Specifies the display mode for the TransPixelToFixture graphic overlay on the image.
0 = hide all (default) | The point is not displayed, unless the cell containing the TransPixelToFixture function is highlighted in the spreadsheet.
2= input graphics only | The point is always displayed.

Outputs

Returns | A Point data structure containing the transformed point, or #ERR if any of the input parameters are invalid.
Results | When the function is initially inserted into a cell, a result table is created in the spreadsheet.

Vision Data Access functions

The Structures Vision Data Access functions automatically inserted into the spreadsheet to create the results table are as follows:

Label | Function | Description
--- | --- | ---
X | GetX(Point) | The X-coordinate of the transformed point.
Y | GetY(Point) | The Y-coordinate of the transformed point.