Antenna House PDF Tool API (C++) 8.0
PtlQuadPoint.h
1
2// PtlQuadPoint.h
3// Copyright (C) 2018-2020 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLQUADPOINT_H_
7#define PDFTK_PTLQUADPOINT_H_
8
9#include "PtlPoint.h"
10
11namespace PdfTk {
12
18
19class PDFTK_API PtlQuadPoint
20{
21private:
22 int m_dataQuadPoint;
23public:
24 int getHandle() const;
25
26public:
32
43 PtlQuadPoint(const PtlPoint& tl, const PtlPoint& tr, const PtlPoint& bl, const PtlPoint& br);
44
51
56
57public:
63
64public:
70 void normalize();
71
72public:
81
88 void setTopLeft(const PtlPoint& tl);
89
98
105 void setTopRight(const PtlPoint& tr);
106
115
122 void setBottomLeft(const PtlPoint& bl);
123
132
139 void setBottomRight(const PtlPoint& br);
140};
141
142} // namespace PdfTk
143
144#endif // PDFTK_PTLQUADPOINT_H_
PtlQuadPoint(const PtlQuadPoint &obj)
コピーコンストラクタ
PtlQuadPoint & operator=(const PtlQuadPoint &obj)
コピーオペレータ
void setTopLeft(const PtlPoint &tl)
座標を設定:上左
PtlPoint & getBottomRight() const
座標を取得:下右
void setBottomLeft(const PtlPoint &bl)
座標を設定:下左
void setTopRight(const PtlPoint &tr)
座標を設定:上右
PtlPoint & getTopRight() const
座標を取得:上右
PtlPoint & getTopLeft() const
座標を取得:上左
PtlQuadPoint()
コンストラクタ
PtlPoint & getBottomLeft() const
座標を取得:下左
~PtlQuadPoint()
デストラクタ
PtlQuadPoint(const PtlPoint &tl, const PtlPoint &tr, const PtlPoint &bl, const PtlPoint &br)
コンストラクタ
void normalize()
座標を正規化
void setBottomRight(const PtlPoint &br)
座標を設定:下右