PDFTool
7.0
Include
PdfTk
PtlRect.h
1
// 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
11
namespace
PdfTk {
12
19
class
PDFTK_API
PtlRect
20
{
21
private
:
22
int
m_dataRect;
23
public
:
24
int
getHandle()
const
;
25
26
public
:
31
PtlRect
();
32
43
PtlRect
(
float
left,
float
bottom,
float
right,
float
top);
44
50
PtlRect
(
const
PtlRect
& obj);
51
55
‾PtlRect
();
56
57
public
:
62
PtlRect
&
operator=
(
const
PtlRect
& obj);
63
64
public
:
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_
PdfTk::PtlRect::setRight
void setRight(float right)
座標を設定:右
PdfTk::PtlRect::setLeft
void setLeft(float left)
座標を設定:左
PdfTk::PtlRect::setTop
void setTop(float top)
座標を設定:上
PdfTk::PtlRect::PtlRect
PtlRect(float left, float bottom, float right, float top)
コンストラクタ
PdfTk::PtlRect::setBottom
void setBottom(float bottom)
座標を設定:下
PdfTk::PtlRect::operator=
PtlRect & operator=(const PtlRect &obj)
コピーオペレータ
PdfTk::PtlRect::getTop
float getTop() const
座標を取得:上
PdfTk::PtlRect::PtlRect
PtlRect(const PtlRect &obj)
コピーコンストラクタ
PdfTk::PtlRect::getRight
float getRight() const
座標を取得:右
PdfTk::PtlRect::‾PtlRect
‾PtlRect()
デストラクタ
PdfTk::PtlRect::PtlRect
PtlRect()
コンストラクタ
PdfTk::PtlRect::getLeft
float getLeft() const
座標を取得:左
PdfTk::PtlRect
PDFの矩形座標を表現したクラスです。 矩形は左下(left,bottom)、右上(right,top)で表現されます。 座標の単位はmmで原点(0,0)は左下となりますので注意してください。
Definition:
PtlRect.h:20
PdfTk::PtlRect::getBottom
float getBottom() const
座標を取得:下
Generated by
1.8.18