WIL説明書(C++)  3.0.0
FvGdiLineSegment.h
[詳解]
1 // $Revision: 1.1 $
2 /*
3  @file FvGdiLineSegment.h
4  @brief Grafics device interface figure class (line segment)
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVGDILINESEGMENT_H_INCLUDED_
9 #define _FVGDILINESEGMENT_H_INCLUDED_
10 
11 #include "FvGdiFigure.h"
12 
13 #pragma pack(push,_FVCL_PACKING)
14 
15 namespace FVCL
16 {
17 namespace GDI
18 {
19 
21 {
22 private:
23  void _Constructor();
24 
25 public:
30  CFvGdiLineSegment( DOUBLE sx, DOUBLE sy, DOUBLE ex, DOUBLE ey );
31  virtual ~CFvGdiLineSegment();
32 
34 
35  virtual INT GetDataID() const;
36  virtual INT Play( HDC dc, DOUBLE magnification ) const;
37  virtual bool GetDataObject( CFvDataObject* object ) const;
38  virtual CFvGdiFigure* Clone() const;
39  virtual FVCL::Data::CFvRectangle GetClipRect() const;
40  virtual INT CheckFocusMarkPosition( const FVCL::Data::CFvPoint& mouse, DOUBLE margin = 2.0 ) const;
41 
42  virtual bool SetPosition( const FVCL::Data::CFvPoint& position );
43  virtual const FVCL::Data::CFvPoint& GetPosition() const;
44 
45  DOUBLE GetWidth() const;
46  DOUBLE GetHeight() const;
47 
48  virtual CFvGdiLineSegment& operator = ( const FVCL::Data::CFvLineSegment& ope );
49  virtual CFvGdiLineSegment& operator = ( const CFvGdiLineSegment& ope );
50  virtual bool operator == ( const CFvGdiFigure& ope ) const;
51  virtual bool operator != ( const CFvGdiFigure& ope ) const;
52 
53  FVCL::Data::CFvLineSegment ToCFvLineSegment() const;
54 
55 protected:
56  virtual bool DrawFocusMark( HDC dc, POINT* vertex, UINT count, POINT axis ) const;
57 
58 public:
61 
62 protected:
63 };
64 
65 } // GDI
66 
67 } // FVCL
68 
69 #pragma pack(pop)
70 
71 #endif // _FVGDILINESEGMENT_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
点構造体
Definition: _structure.h:125
点構造クラス
Definition: FvPoint.h:38
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
FVCL::Data::CFvPoint ed
終点
Definition: FvGdiLineSegment.h:60
データオブジェクトの基本クラス
Definition: FvDataObject.h:20
矩形構造クラス
Definition: FvRectangle.h:37
GDI図形構造基本クラスのインターフェース
線分構造クラスのデータID
Definition: FvLineSegment.h:50
double DOUBLE
倍精度浮動小数点型(64ビット)
Definition: FvDefs.h:62
線分構造クラス
Definition: FvLineSegment.h:34
GDI図形構造基本クラス
Definition: FvGdiFigure.h:33
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
FVCL::Data::CFvPoint st
始点
Definition: FvGdiLineSegment.h:59
GDI線分構造クラス
Definition: FvGdiLineSegment.h:20

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