// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_PAINT_INFO_H_ #define UI_VIEWS_PAINT_INFO_H_ #include "base/gtest_prod_util.h" #include "base/memory/raw_ptr.h" #include "ui/compositor/paint_context.h" #include "ui/gfx/geometry/rect.h" #include "ui/views/views_export.h" namespace views { // This class manages the context required during View::Paint(). It is // responsible for setting the paint recording size and the paint recording // scale factors for an individual View. // Each PaintInfo instance has paint recording offset relative to a root // PaintInfo. // All coordinates are in paint recording space. If pixel canvas is enabled this // essentially becomes pixel coordinate space. class VIEWS_EXPORT PaintInfo { … }; } // namespace views #endif // UI_VIEWS_PAINT_INFO_H_