Win32 API 日本語リファレンス
ホームGraphics.Imaging › WICPixelFormatNumericRepresentation

WICPixelFormatNumericRepresentation

列挙型
基底型i4

メンバー 6

名前10進16進説明
WICPixelFormatNumericRepresentationUnspecified00x0形式が指定されていません。
WICPixelFormatNumericRepresentationIndexed10x1形式がインデックス付きであることを指定します。
WICPixelFormatNumericRepresentationUnsignedInteger20x2形式が符号なし整数として表現されることを指定します。
WICPixelFormatNumericRepresentationSignedInteger30x3形式が符号付き整数として表現されることを指定します。
WICPixelFormatNumericRepresentationFixed40x4形式が固定小数点数として表現されることを指定します。
WICPixelFormatNumericRepresentationFloat50x5形式が浮動小数点数として表現されることを指定します。

公式ドキュメント

WIC ピクセル形式の数値表現に使用されるプリミティブ型を指定する定数を定義します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum WICPixelFormatNumericRepresentation : int {
    WICPixelFormatNumericRepresentationUnspecified = 0,
    WICPixelFormatNumericRepresentationIndexed = 1,
    WICPixelFormatNumericRepresentationUnsignedInteger = 2,
    WICPixelFormatNumericRepresentationSignedInteger = 3,
    WICPixelFormatNumericRepresentationFixed = 4,
    WICPixelFormatNumericRepresentationFloat = 5
} WICPixelFormatNumericRepresentation;
public enum WICPixelFormatNumericRepresentation : int
{
    WICPixelFormatNumericRepresentationUnspecified = 0,
    WICPixelFormatNumericRepresentationIndexed = 1,
    WICPixelFormatNumericRepresentationUnsignedInteger = 2,
    WICPixelFormatNumericRepresentationSignedInteger = 3,
    WICPixelFormatNumericRepresentationFixed = 4,
    WICPixelFormatNumericRepresentationFloat = 5,
}
Public Enum WICPixelFormatNumericRepresentation As Integer
    WICPixelFormatNumericRepresentationUnspecified = 0
    WICPixelFormatNumericRepresentationIndexed = 1
    WICPixelFormatNumericRepresentationUnsignedInteger = 2
    WICPixelFormatNumericRepresentationSignedInteger = 3
    WICPixelFormatNumericRepresentationFixed = 4
    WICPixelFormatNumericRepresentationFloat = 5
End Enum
import enum

class WICPixelFormatNumericRepresentation(enum.IntEnum):
    WICPixelFormatNumericRepresentationUnspecified = 0
    WICPixelFormatNumericRepresentationIndexed = 1
    WICPixelFormatNumericRepresentationUnsignedInteger = 2
    WICPixelFormatNumericRepresentationSignedInteger = 3
    WICPixelFormatNumericRepresentationFixed = 4
    WICPixelFormatNumericRepresentationFloat = 5
// WICPixelFormatNumericRepresentation
pub const WICPixelFormatNumericRepresentationUnspecified: i32 = 0;
pub const WICPixelFormatNumericRepresentationIndexed: i32 = 1;
pub const WICPixelFormatNumericRepresentationUnsignedInteger: i32 = 2;
pub const WICPixelFormatNumericRepresentationSignedInteger: i32 = 3;
pub const WICPixelFormatNumericRepresentationFixed: i32 = 4;
pub const WICPixelFormatNumericRepresentationFloat: i32 = 5;
// WICPixelFormatNumericRepresentation
const (
	WICPixelFormatNumericRepresentationUnspecified int32 = 0
	WICPixelFormatNumericRepresentationIndexed int32 = 1
	WICPixelFormatNumericRepresentationUnsignedInteger int32 = 2
	WICPixelFormatNumericRepresentationSignedInteger int32 = 3
	WICPixelFormatNumericRepresentationFixed int32 = 4
	WICPixelFormatNumericRepresentationFloat int32 = 5
)
const
  WICPixelFormatNumericRepresentationUnspecified = 0;
  WICPixelFormatNumericRepresentationIndexed = 1;
  WICPixelFormatNumericRepresentationUnsignedInteger = 2;
  WICPixelFormatNumericRepresentationSignedInteger = 3;
  WICPixelFormatNumericRepresentationFixed = 4;
  WICPixelFormatNumericRepresentationFloat = 5;
// WICPixelFormatNumericRepresentation
pub const WICPixelFormatNumericRepresentationUnspecified: i32 = 0;
pub const WICPixelFormatNumericRepresentationIndexed: i32 = 1;
pub const WICPixelFormatNumericRepresentationUnsignedInteger: i32 = 2;
pub const WICPixelFormatNumericRepresentationSignedInteger: i32 = 3;
pub const WICPixelFormatNumericRepresentationFixed: i32 = 4;
pub const WICPixelFormatNumericRepresentationFloat: i32 = 5;
const
  WICPixelFormatNumericRepresentationUnspecified* = 0
  WICPixelFormatNumericRepresentationIndexed* = 1
  WICPixelFormatNumericRepresentationUnsignedInteger* = 2
  WICPixelFormatNumericRepresentationSignedInteger* = 3
  WICPixelFormatNumericRepresentationFixed* = 4
  WICPixelFormatNumericRepresentationFloat* = 5
enum WICPixelFormatNumericRepresentation : int {
    WICPixelFormatNumericRepresentationUnspecified = 0,
    WICPixelFormatNumericRepresentationIndexed = 1,
    WICPixelFormatNumericRepresentationUnsignedInteger = 2,
    WICPixelFormatNumericRepresentationSignedInteger = 3,
    WICPixelFormatNumericRepresentationFixed = 4,
    WICPixelFormatNumericRepresentationFloat = 5,
}
#define global WICPixelFormatNumericRepresentationUnspecified     0x0
#define global WICPixelFormatNumericRepresentationIndexed         0x1
#define global WICPixelFormatNumericRepresentationUnsignedInteger 0x2
#define global WICPixelFormatNumericRepresentationSignedInteger   0x3
#define global WICPixelFormatNumericRepresentationFixed           0x4
#define global WICPixelFormatNumericRepresentationFloat           0x5