Antenna House PDF Tool API (C++) 8.0
PtlRect.h
1
2// PtlRect.h
3// Copyright (C) 2013-2018 Antenna House,Inc.
4// All rights reserved.
6#ifndef PDFTK_PTLRECT_H_
7#define PDFTK_PTLRECT_H_
8
9#include "PdfTkBase.h"
10
11namespace PdfTk {
12
18
19class PDFTK_API PtlRect
20{
21private:
22 int m_dataRect;
23public:
24 int getHandle() const;
25
26public:
32
43 PtlRect(float left, float bottom, float right, float top);
44
50 PtlRect(const PtlRect& obj);
51
56
57public:
63
64public:
72 float getLeft() const;
73
81 void setLeft(float left);
82
90 float getBottom() const;
91
99 void setBottom(float bottom);
100
108 float getRight() const;
109
117 void setRight(float right);
118
126 float getTop() const;
127
135 void setTop(float top);
136};
137
138} // namespace PdfTk
139
140#endif // PDFTK_PTLRECT_H_
void setLeft(float left)
座標を設定:左
void setRight(float right)
座標を設定:右
float getLeft() const
座標を取得:左
float getBottom() const
void setBottom(float bottom)
座標を設定:下
float getTop() const
座標を取得:上
void setTop(float top)
座標を設定:上
PtlRect(const PtlRect &obj)
コピーコンストラクタ
~PtlRect()
デストラクタ
PtlRect(float left, float bottom, float right, float top)
コンストラクタ
PtlRect()
コンストラクタ
float getRight() const
座標を取得:右
PtlRect & operator=(const PtlRect &obj)
コピーオペレータ