8 #ifndef _FVPATTERN_H_INCLUDED_ 9 #define _FVPATTERN_H_INCLUDED_ 15 #pragma pack(push,_FVCL_PACKING) 52 static void MakePatternRevision(
int value );
53 static int MakePatternRevision();
63 enum { DataID = 101 };
65 virtual INT GetDataID()
const;
66 virtual bool GetPointer(
INT id,
void** val )
const;
68 virtual bool Load(
LPCTSTR szFileName );
69 virtual bool Load(
LPCTSTR szFileName,
INT pixelmode );
70 virtual bool Save(
LPCTSTR szFileName );
87 bool GetCenterMark(
CFvPoint* center_mark )
const;
91 bool SetOption(
INT option );
92 INT GetOption()
const;
94 bool GetAttachedMask(
CFvImage* image )
const;
99 bool MaskCopyTo(
CFvImage* image )
const;
100 bool MaskCopyTo(
CFvImage* image,
INT maskbit )
const;
102 void* GetMaskAdrs(
UINT x=0,
UINT y=0 )
const;
113 UINT GetMaskMemSize()
const;
114 ULONG_PTR GetMaskMemSize64()
const;
115 UINT GetMaskHorzByte()
const;
116 UINT GetMaskImageType()
const;
119 virtual bool operator == (
const CFvPattern& src )
const;
120 virtual bool operator != (
const CFvPattern& src )
const;
123 virtual INT fnImportFIE(
FHANDLE hImage,
bool is_ref );
125 virtual INT fnAttach(
void** adrs,
UINT horz,
UINT vert,
UINT type,
UINT ch,
void** handles );
126 virtual bool MaskAllocate(
UINT horz,
UINT vert,
UINT type );
127 virtual bool MaskFree();
141 #endif // _FVPATTERN_H_INCLUDED_ #define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
FVCL::Data::CFvRectangle m_RegistRect
登録座標
Definition: FvPattern.h:129
const INT INVALID_CENTER_MARK
基準点が無効です。
Definition: FvPattern.h:23
unsigned char UCHAR
整数型(8ビット)[符号なし]
Definition: FvDefs.h:33
点構造クラス
Definition: FvPoint.h:38
const INT INVALID_REGIST_RECT
登録範囲が無効です。
Definition: FvPattern.h:22
LPCSTR LPCTSTR
汎用文字列型(const付き)
Definition: FvDefs.h:57
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
const INT Pattern
メモリビットマップで定義されるパタンブラシ
Definition: FvGDIDefs.h:198
パタンオブジェクト
Definition: FvPattern.h:46
int INT
整数型(32ビット)
Definition: FvDefs.h:36
const INT _BASE
クラス固有のエラーコードのオフセット値
Definition: FvPattern.h:21
矩形構造クラス
Definition: FvRectangle.h:37
FVCL::Data::CFvImage m_MaskImage
パタンマスク
Definition: FvPattern.h:132
int64_t INT64
整数型(64ビット)
Definition: FvDefs.h:41
const INT Free
フリー形状
Definition: FvConversionDefs.h:25
const UINT UC8
1画素8bit (符号無し)
Definition: FvImage.h:35
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
const INT MASK
マスク部分
Definition: FvPattern.h:39
void * FHANDLE
FIEオブジェクトハンドル
Definition: FvDefs.h:63
INT m_Option
オプション
Definition: FvPattern.h:131
画像オブジェクト
Definition: FvImage.h:64
FVCL::Data::CFvPoint m_CenterMark
パタン基準点
Definition: FvPattern.h:130
const INT ESSENTIAL
不可欠部分
Definition: FvPattern.h:40