Foxit PDF SDK
fs_ofdpage.h
1
#if (defined(_WIN32) || defined(_WIN64))|| defined(__linux__)
2
16
#ifndef FS_OFDPAGE_H_
17
#define FS_OFDPAGE_H_
18
19
#include "
common/fs_common.h
"
20
26
namespace
foxit
{
30
namespace
addon {
34
namespace
ofd {
41
class
OFDPage FS_FINAL :
public
Base{
42
public
:
44
OFDPage();
45
49
OFDPage(
const
OFDPage& other);
50
59
void
Release();
60
68
OFDPage& operator=(
const
OFDPage& other);
69
77
bool
operator==
(
const
OFDPage& other)
const
;
78
86
bool
operator!=
(
const
OFDPage& other)
const
;
87
95
bool
IsEmpty()
const
;
96
102
float
GetWidth()
const
;
103
109
float
GetHeight()
const
;
110
125
Matrix
GetDisplayMatrix(
int
left,
int
top,
int
width,
int
height,
common::Rotation
rotate);
126
// 强烈建议用户不要使用此方法;否则可能出现未知情况。
127
explicit
OFDPage(
FS_HANDLE
handle);
128
};
129
130
}
// namespace ofd
131
}
// namespace addon
132
}
// namespace foxit
133
134
#endif // FS_OFDPAGE_H_
135
136
#endif // #if (defined(_WIN32) || defined(_WIN64)) || (defined(__linux__) && defined(__x86_64__) && !defined(__ANDROID__))
foxit::FS_HANDLE
void * FS_HANDLE
句柄类型。
Definition:
fs_basictypes.h:214
fs_common.h
通用定义和类的头文件。
foxit::common::Rotation
Rotation
旋转的枚举。
Definition:
fs_common.h:57
operator==
bool operator==(const char *str1, const CFX_ByteString &str2)
检查两个字节字符串是否相等。
Definition:
fs_basictypes.h:128
foxit
Foxit命名空间。
Definition:
fs_taggedpdf.h:27
operator!=
bool operator!=(const char *str1, const CFX_ByteString &str2)
检查两个字节字符串是否不相等。
Definition:
fs_basictypes.h:140
foxit::Matrix
CFX_Matrix Matrix
矩阵信息,浮点型。
Definition:
fs_basictypes.h:467
@2026 Foxit Software Incorporated. All rights reserved.