WIL説明書(C++)  3.0.0
ImageSize.h
[詳解]
1 // $Id: ImageSize.h,v 1.6 2012/05/17 07:47:02 tyamada Exp $
2 // $Revision: 1.6 $
3 /*
4  @file ImageSize.h
5  @brief ImageSize class
6  @author FAST Corporation
7 */
8 
9 #pragma once
10 
11 #include "FvObject.h"
12 #include "Rectangle.h"
13 
14 #pragma pack(push,_FVCL_PACKING)
15 
16 // ////////////////////////////////////////////////////////////
17 namespace FVCL
18 {
19 
20 // ////////////////////////////////////////////////////////////
22 {
23 private:
24  void _Constructor();
25 
26 public:
27  ImageSize();
28  ImageSize(UINT horz, UINT vert, UINT type, UINT channel);
29  ImageSize(UINT horz, UINT vert, UINT type, UINT channel, UINT depth, UINT info);
30  ImageSize(SIZE size, UINT type, UINT channel);
31  ImageSize(SIZE size, UINT type, UINT channel, UINT depth, UINT info);
32  ImageSize(FHANDLE hImage);
33 
34 public:
35  virtual ImageSize& operator = ( const ImageSize& src );
36  virtual bool operator == ( const ImageSize& src ) const;
37  virtual bool operator != ( const ImageSize& src ) const;
38 
39  bool Compare( const ImageSize& src ) const;
40  SIZE ToSIZE() const;
41  RECT ToRECT() const;
42  Rectangle ToRectangle() const;
43 
44  static UINT CalcBppOfImageType( UINT type );
45  static UINT CalcDepthOfImageType( UINT type );
46  static UINT CalcAllocBpp( UINT bpp );
47  static UINT CalcHorzByte( UINT horz, UINT bpp );
48 
49 public:
56 };
57 
58 } // FVCL
59 
60 #pragma pack(pop)
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
UINT ImageInfo
画像情報 (色空間情報)
Definition: ImageSize.h:55
UINT HorzSize
画像の幅 [0,1~]
Definition: ImageSize.h:50
画像サイズ情報クラス
Definition: ImageSize.h:21
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
画像サイズ情報クラス
UINT Depth
ビット深度 [1~]
Definition: ImageSize.h:54
矩形構造体
Definition: _structure.h:145
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
UINT VertSize
画像の高さ [0,1~]
Definition: ImageSize.h:51
矩形情報クラス
Definition: Rectangle.h:20
CFvObject クラスのインターフェース
void * FHANDLE
FIEオブジェクトハンドル
Definition: FvDefs.h:63
UINT Channel
チャネル数 [1~16]
Definition: ImageSize.h:53
UINT ImageType
画像種別 (画素サイズ)
Definition: ImageSize.h:52

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11