blob: 9dd869022591fa669573418ea60b60da409afdf7 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library test.accessibility;
// A test protocol that enables clients to control magnification directly.
@discoverable
closed protocol Magnifier {
// Sets the new magnification transform using the scale and translation provided.
strict SetMagnification(struct {
// The new mangification scale.
scale float32;
// The new magnification x translation.
translation_x float32;
// The new magnification y translation.
translation_y float32;
}) -> ();
};