// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_SVG_TRANSFORM_HELPER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_SVG_TRANSFORM_HELPER_H_ #include "third_party/blink/renderer/core/style/computed_style.h" #include "third_party/blink/renderer/platform/transforms/affine_transform.h" #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" namespace gfx { class RectF; } namespace blink { class SVGElement; class LayoutObject; class TransformHelper { … }; // The following enumeration is used to optimize cases where the scale is known // to be invariant (see: LayoutSVGContainer::UpdateSVGLayout and // LayoutSVGRoot). The value 'Full' can be used in the general case when the // scale change is unknown, or known to have changed. enum class SVGTransformChange { … }; // Helper for computing ("classifying") a change to a transform using the // categories defined above. class SVGTransformChangeDetector { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_SVG_TRANSFORM_HELPER_H_