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

DitherType

列挙型
基底型i4

メンバー 11

名前10進16進
DitherTypeNone00x0
DitherTypeSolid10x1
DitherTypeOrdered4x420x2
DitherTypeOrdered8x830x3
DitherTypeOrdered16x1640x4
DitherTypeSpiral4x450x5
DitherTypeSpiral8x860x6
DitherTypeDualSpiral4x470x7
DitherTypeDualSpiral8x880x8
DitherTypeErrorDiffusion90x9
DitherTypeMax100xA

各言語での定義

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

typedef enum DitherType : int {
    DitherTypeNone = 0,
    DitherTypeSolid = 1,
    DitherTypeOrdered4x4 = 2,
    DitherTypeOrdered8x8 = 3,
    DitherTypeOrdered16x16 = 4,
    DitherTypeSpiral4x4 = 5,
    DitherTypeSpiral8x8 = 6,
    DitherTypeDualSpiral4x4 = 7,
    DitherTypeDualSpiral8x8 = 8,
    DitherTypeErrorDiffusion = 9,
    DitherTypeMax = 10
} DitherType;
public enum DitherType : int
{
    DitherTypeNone = 0,
    DitherTypeSolid = 1,
    DitherTypeOrdered4x4 = 2,
    DitherTypeOrdered8x8 = 3,
    DitherTypeOrdered16x16 = 4,
    DitherTypeSpiral4x4 = 5,
    DitherTypeSpiral8x8 = 6,
    DitherTypeDualSpiral4x4 = 7,
    DitherTypeDualSpiral8x8 = 8,
    DitherTypeErrorDiffusion = 9,
    DitherTypeMax = 10,
}
Public Enum DitherType As Integer
    DitherTypeNone = 0
    DitherTypeSolid = 1
    DitherTypeOrdered4x4 = 2
    DitherTypeOrdered8x8 = 3
    DitherTypeOrdered16x16 = 4
    DitherTypeSpiral4x4 = 5
    DitherTypeSpiral8x8 = 6
    DitherTypeDualSpiral4x4 = 7
    DitherTypeDualSpiral8x8 = 8
    DitherTypeErrorDiffusion = 9
    DitherTypeMax = 10
End Enum
import enum

class DitherType(enum.IntEnum):
    DitherTypeNone = 0
    DitherTypeSolid = 1
    DitherTypeOrdered4x4 = 2
    DitherTypeOrdered8x8 = 3
    DitherTypeOrdered16x16 = 4
    DitherTypeSpiral4x4 = 5
    DitherTypeSpiral8x8 = 6
    DitherTypeDualSpiral4x4 = 7
    DitherTypeDualSpiral8x8 = 8
    DitherTypeErrorDiffusion = 9
    DitherTypeMax = 10
// DitherType
pub const DitherTypeNone: i32 = 0;
pub const DitherTypeSolid: i32 = 1;
pub const DitherTypeOrdered4x4: i32 = 2;
pub const DitherTypeOrdered8x8: i32 = 3;
pub const DitherTypeOrdered16x16: i32 = 4;
pub const DitherTypeSpiral4x4: i32 = 5;
pub const DitherTypeSpiral8x8: i32 = 6;
pub const DitherTypeDualSpiral4x4: i32 = 7;
pub const DitherTypeDualSpiral8x8: i32 = 8;
pub const DitherTypeErrorDiffusion: i32 = 9;
pub const DitherTypeMax: i32 = 10;
// DitherType
const (
	DitherTypeNone int32 = 0
	DitherTypeSolid int32 = 1
	DitherTypeOrdered4x4 int32 = 2
	DitherTypeOrdered8x8 int32 = 3
	DitherTypeOrdered16x16 int32 = 4
	DitherTypeSpiral4x4 int32 = 5
	DitherTypeSpiral8x8 int32 = 6
	DitherTypeDualSpiral4x4 int32 = 7
	DitherTypeDualSpiral8x8 int32 = 8
	DitherTypeErrorDiffusion int32 = 9
	DitherTypeMax int32 = 10
)
const
  DitherTypeNone = 0;
  DitherTypeSolid = 1;
  DitherTypeOrdered4x4 = 2;
  DitherTypeOrdered8x8 = 3;
  DitherTypeOrdered16x16 = 4;
  DitherTypeSpiral4x4 = 5;
  DitherTypeSpiral8x8 = 6;
  DitherTypeDualSpiral4x4 = 7;
  DitherTypeDualSpiral8x8 = 8;
  DitherTypeErrorDiffusion = 9;
  DitherTypeMax = 10;
// DitherType
pub const DitherTypeNone: i32 = 0;
pub const DitherTypeSolid: i32 = 1;
pub const DitherTypeOrdered4x4: i32 = 2;
pub const DitherTypeOrdered8x8: i32 = 3;
pub const DitherTypeOrdered16x16: i32 = 4;
pub const DitherTypeSpiral4x4: i32 = 5;
pub const DitherTypeSpiral8x8: i32 = 6;
pub const DitherTypeDualSpiral4x4: i32 = 7;
pub const DitherTypeDualSpiral8x8: i32 = 8;
pub const DitherTypeErrorDiffusion: i32 = 9;
pub const DitherTypeMax: i32 = 10;
const
  DitherTypeNone* = 0
  DitherTypeSolid* = 1
  DitherTypeOrdered4x4* = 2
  DitherTypeOrdered8x8* = 3
  DitherTypeOrdered16x16* = 4
  DitherTypeSpiral4x4* = 5
  DitherTypeSpiral8x8* = 6
  DitherTypeDualSpiral4x4* = 7
  DitherTypeDualSpiral8x8* = 8
  DitherTypeErrorDiffusion* = 9
  DitherTypeMax* = 10
enum DitherType : int {
    DitherTypeNone = 0,
    DitherTypeSolid = 1,
    DitherTypeOrdered4x4 = 2,
    DitherTypeOrdered8x8 = 3,
    DitherTypeOrdered16x16 = 4,
    DitherTypeSpiral4x4 = 5,
    DitherTypeSpiral8x8 = 6,
    DitherTypeDualSpiral4x4 = 7,
    DitherTypeDualSpiral8x8 = 8,
    DitherTypeErrorDiffusion = 9,
    DitherTypeMax = 10,
}
#define global DitherTypeNone           0x0
#define global DitherTypeSolid          0x1
#define global DitherTypeOrdered4x4     0x2
#define global DitherTypeOrdered8x8     0x3
#define global DitherTypeOrdered16x16   0x4
#define global DitherTypeSpiral4x4      0x5
#define global DitherTypeSpiral8x8      0x6
#define global DitherTypeDualSpiral4x4  0x7
#define global DitherTypeDualSpiral8x8  0x8
#define global DitherTypeErrorDiffusion 0x9
#define global DitherTypeMax            0xA