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

D2D1_SHARPEN_PROP

列挙型
基底型i4

メンバー 2

名前10進16進説明
D2D1_SHARPEN_PROP_SHARPNESS00x0D2D1_SHARPEN_PROP_SHARPNESS プロパティは、入力画像をどの程度シャープにするかを示す float 値です。指定できる範囲は 0.0 から 10.0 です。既定値は 0.0 です。
D2D1_SHARPEN_PROP_THRESHOLD10x1D2D1_SHARPEN_PROP_THRESHOLD プロパティは float 値です。指定できる範囲は 0.0 から 1.0 です。既定値は 0.0 です。

公式ドキュメント

Sharpen 効果のプロパティを示す識別子です。

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

各言語での定義

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

typedef enum D2D1_SHARPEN_PROP : int {
    D2D1_SHARPEN_PROP_SHARPNESS = 0,
    D2D1_SHARPEN_PROP_THRESHOLD = 1
} D2D1_SHARPEN_PROP;
public enum D2D1_SHARPEN_PROP : int
{
    D2D1_SHARPEN_PROP_SHARPNESS = 0,
    D2D1_SHARPEN_PROP_THRESHOLD = 1,
}
Public Enum D2D1_SHARPEN_PROP As Integer
    D2D1_SHARPEN_PROP_SHARPNESS = 0
    D2D1_SHARPEN_PROP_THRESHOLD = 1
End Enum
import enum

class D2D1_SHARPEN_PROP(enum.IntEnum):
    D2D1_SHARPEN_PROP_SHARPNESS = 0
    D2D1_SHARPEN_PROP_THRESHOLD = 1
// D2D1_SHARPEN_PROP
pub const D2D1_SHARPEN_PROP_SHARPNESS: i32 = 0;
pub const D2D1_SHARPEN_PROP_THRESHOLD: i32 = 1;
// D2D1_SHARPEN_PROP
const (
	D2D1_SHARPEN_PROP_SHARPNESS int32 = 0
	D2D1_SHARPEN_PROP_THRESHOLD int32 = 1
)
const
  D2D1_SHARPEN_PROP_SHARPNESS = 0;
  D2D1_SHARPEN_PROP_THRESHOLD = 1;
// D2D1_SHARPEN_PROP
pub const D2D1_SHARPEN_PROP_SHARPNESS: i32 = 0;
pub const D2D1_SHARPEN_PROP_THRESHOLD: i32 = 1;
const
  D2D1_SHARPEN_PROP_SHARPNESS* = 0
  D2D1_SHARPEN_PROP_THRESHOLD* = 1
enum D2D1_SHARPEN_PROP : int {
    D2D1_SHARPEN_PROP_SHARPNESS = 0,
    D2D1_SHARPEN_PROP_THRESHOLD = 1,
}
#define global D2D1_SHARPEN_PROP_SHARPNESS 0x0
#define global D2D1_SHARPEN_PROP_THRESHOLD 0x1