/* * Copyright 2022 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkColorType_DEFINED #define SkColorType_DEFINED #include "include/core/SkTypes.h" /** \enum SkColorType Describes how pixel bits encode color. A pixel may be an alpha mask, a grayscale, RGB, or ARGB. kN32_SkColorType selects the native 32-bit ARGB format for the current configuration. This can lead to inconsistent results across platforms, so use with caution. */ enum SkColorType : int { … }; static constexpr int kSkColorTypeCnt = …; #endif