// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "pdf/pdf_ink_transform.h" #include "base/check_op.h" #include "ui/gfx/geometry/rect.h" namespace chrome_pdf { gfx::PointF EventPositionToCanonicalPosition(const gfx::PointF& event_position, PageOrientation orientation, const gfx::Rect& page_content_rect, float scale_factor) { … } InkAffineTransform GetInkRenderTransform( const gfx::Vector2dF& viewport_origin_offset, PageOrientation orientation, const gfx::Rect& page_content_rect, float scale_factor) { … } } // namespace chrome_pdf