blob: 65409864d079b5efe0e6e15db0854bb56e8f0e81 [file] [log] [blame]
// Copyright 2019 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.
#include <fuchsia/ui/views/cpp/fidl.h>
#include <lib/fsl/handles/object_info.h>
#include <lib/zx/event.h>
namespace a11y {
// Utility function to extract Koid from an event.
zx_koid_t GetKoid(const fuchsia::ui::views::ViewRef& view_ref);
// Multiply two 3x3 Matrix represented in Row Major form.
std::array<float, 9> Multiply3x3MatrixRowMajor(std::array<float, 9> left,
std::array<float, 9> right);
} // namespace a11y
#endif // SRC_UI_A11Y_LIB_UTIL_UTIL_H_