pub enum MagnificationHandlerRequest {
SetClipSpaceTransform {
x: f32,
y: f32,
scale: f32,
responder: MagnificationHandlerSetClipSpaceTransformResponder,
},
}
Expand description
Exposes a privileged magnifier API for camera control, typically on a
fuchsia.ui.policy.Presentation
.
Variants§
SetClipSpaceTransform
Sets clip-space x-offset, y-offset, and scale for the presentation. x and y are in Vulkan NDC and are applied after scaling, which occurs about the center of the presentation. The callback indicates when the update has been presented. The identity transform (0, 0, 1) is the natural state.
Implementations§
source§impl MagnificationHandlerRequest
impl MagnificationHandlerRequest
pub fn into_set_clip_space_transform( self ) -> Option<(f32, f32, f32, MagnificationHandlerSetClipSpaceTransformResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL