ホーム › Graphics.Direct2D › D2D1_COLOR_SPACE
D2D1_COLOR_SPACE
列挙型メンバー 3
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| D2D1_COLOR_SPACE_CUSTOM | 0 | 0x0 | 色空間はカラープロファイルなど、別の方法で記述されます。 |
| D2D1_COLOR_SPACE_SRGB | 1 | 0x1 | 色空間は sRGB です。 |
| D2D1_COLOR_SPACE_SCRGB | 2 | 0x2 | 色空間は scRGB です。 |
公式ドキュメント
色空間に適用するオプションを定義します。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum D2D1_COLOR_SPACE : int {
D2D1_COLOR_SPACE_CUSTOM = 0,
D2D1_COLOR_SPACE_SRGB = 1,
D2D1_COLOR_SPACE_SCRGB = 2
} D2D1_COLOR_SPACE;public enum D2D1_COLOR_SPACE : int
{
D2D1_COLOR_SPACE_CUSTOM = 0,
D2D1_COLOR_SPACE_SRGB = 1,
D2D1_COLOR_SPACE_SCRGB = 2,
}Public Enum D2D1_COLOR_SPACE As Integer
D2D1_COLOR_SPACE_CUSTOM = 0
D2D1_COLOR_SPACE_SRGB = 1
D2D1_COLOR_SPACE_SCRGB = 2
End Enumimport enum
class D2D1_COLOR_SPACE(enum.IntEnum):
D2D1_COLOR_SPACE_CUSTOM = 0
D2D1_COLOR_SPACE_SRGB = 1
D2D1_COLOR_SPACE_SCRGB = 2// D2D1_COLOR_SPACE
pub const D2D1_COLOR_SPACE_CUSTOM: i32 = 0;
pub const D2D1_COLOR_SPACE_SRGB: i32 = 1;
pub const D2D1_COLOR_SPACE_SCRGB: i32 = 2;// D2D1_COLOR_SPACE
const (
D2D1_COLOR_SPACE_CUSTOM int32 = 0
D2D1_COLOR_SPACE_SRGB int32 = 1
D2D1_COLOR_SPACE_SCRGB int32 = 2
)const
D2D1_COLOR_SPACE_CUSTOM = 0;
D2D1_COLOR_SPACE_SRGB = 1;
D2D1_COLOR_SPACE_SCRGB = 2;// D2D1_COLOR_SPACE
pub const D2D1_COLOR_SPACE_CUSTOM: i32 = 0;
pub const D2D1_COLOR_SPACE_SRGB: i32 = 1;
pub const D2D1_COLOR_SPACE_SCRGB: i32 = 2;const
D2D1_COLOR_SPACE_CUSTOM* = 0
D2D1_COLOR_SPACE_SRGB* = 1
D2D1_COLOR_SPACE_SCRGB* = 2enum D2D1_COLOR_SPACE : int {
D2D1_COLOR_SPACE_CUSTOM = 0,
D2D1_COLOR_SPACE_SRGB = 1,
D2D1_COLOR_SPACE_SCRGB = 2,
}#define global D2D1_COLOR_SPACE_CUSTOM 0x0
#define global D2D1_COLOR_SPACE_SRGB 0x1
#define global D2D1_COLOR_SPACE_SCRGB 0x2