surface_origin.h 474 B

12345678910111213141516171819
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef UI_GFX_SURFACE_ORIGIN_H_
  5. #define UI_GFX_SURFACE_ORIGIN_H_
  6. namespace gfx {
  7. // Describes where (0,0) coordinate is in a surface. Conventionally this value
  8. // is kBottomLeft for OpenGL.
  9. enum class SurfaceOrigin {
  10. kTopLeft,
  11. kBottomLeft,
  12. };
  13. } // namespace gfx
  14. #endif // UI_GFX_SURFACE_ORIGIN_H_