UAZoomChangeFocus(_:_:_:)
Tells the Universal Access zoom feature where it should focus.
Declaration
func UAZoomChangeFocus(_ inRect: UnsafePointer<CGRect>!, _ inHighlightRect: UnsafePointer<CGRect>!, _ inType: UAZoomChangeFocusType) -> OSStatusParameters
- inRect:
The frame of the element in focus, in global 72-dot-per-inch (dpi) coordinates.
- inHighlightRect:
The frame of the highlighted part of the element in focus, in global 72 dpi coordinates. If the whole element is in focus, and not just a smaller part of it, pass the
inRectparameter and passNULLforinHighlightRect. - inType:
A value of type Uazoomchangefocustype.
Return Value
Returns noErr if there were no problems, if Universal Access Zoom is zoomed all the way out, or if the feature is off; returns paramErr if inRect is NULL or if inType is out of range.
Discussion
This function tells Universal Access the frame of the element in focus and the part of the element that should be in focus.