PDFTool
7.0
|
PDFの矩形座標を表現したクラスです。
矩形は左下(left,bottom)、右上(right,top)で表現されます。
座標の単位はmmで原点(0,0)は左下となりますので注意してください。
More...
#include <PtlRect.h>
Public Member Functions | |
int | getHandle () const |
PtlRect () | |
コンストラクタ More... | |
PtlRect (float left, float bottom, float right, float top) | |
コンストラクタ More... | |
PtlRect (const PtlRect &obj) | |
コピーコンストラクタ More... | |
‾PtlRect () | |
デストラクタ | |
PtlRect & | operator= (const PtlRect &obj) |
コピーオペレータ More... | |
float | getLeft () const |
座標を取得:左 More... | |
void | setLeft (float left) |
座標を設定:左 More... | |
float | getBottom () const |
座標を取得:下 More... | |
void | setBottom (float bottom) |
座標を設定:下 More... | |
float | getRight () const |
座標を取得:右 More... | |
void | setRight (float right) |
座標を設定:右 More... | |
float | getTop () const |
座標を取得:上 More... | |
void | setTop (float top) |
座標を設定:上 More... | |
PDFの矩形座標を表現したクラスです。
矩形は左下(left,bottom)、右上(right,top)で表現されます。
座標の単位はmmで原点(0,0)は左下となりますので注意してください。
PdfTk::PtlRect::PtlRect | ( | ) |
コンストラクタ
PtlException |
PdfTk::PtlRect::PtlRect | ( | float | left, |
float | bottom, | ||
float | right, | ||
float | top | ||
) |
コンストラクタ
座標の単位はmmで原点(0,0)は左下となりますので注意してください。
left | 左 |
bottom | 下 |
right | 右 |
top | 上 |
PtlException |
PdfTk::PtlRect::PtlRect | ( | const PtlRect & | obj | ) |
float PdfTk::PtlRect::getBottom | ( | ) | const |
float PdfTk::PtlRect::getLeft | ( | ) | const |
float PdfTk::PtlRect::getRight | ( | ) | const |
float PdfTk::PtlRect::getTop | ( | ) | const |
void PdfTk::PtlRect::setBottom | ( | float | bottom | ) |
void PdfTk::PtlRect::setLeft | ( | float | left | ) |
void PdfTk::PtlRect::setRight | ( | float | right | ) |
void PdfTk::PtlRect::setTop | ( | float | top | ) |