pub unsafe extern "C-unwind" fn UAZoomChangeFocus(
in_rect: *const CGRect,
in_highlight_rect: *const CGRect,
in_type: UAZoomChangeFocusType,
) -> u32UniversalAccess only.Expand description
Tells the Universal Access zoom feature where it should focus.
This function tells Universal Access the frame of the element in focus and the part of the element that should be in focus.
Parameter inRect: The frame of the element in focus, in global 72-dot-per-inch (dpi) coordinates.
Parameter 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
inRect
parameter and pass
NULL
for
inHighlightRect
.
Parameter inType: A value of type
UAZoomChangeFocusType UAZoomChangeFocusType.
Returns: 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.
Availability: Available in Mac OS X v10.4 and later (not available in CarbonLib 1.x and not available for nonCarbon CFM).
ยงSafety
in_rectmust be a valid pointer.in_highlight_rectmust be a valid pointer.