Foxit PDF SDK
foxit::fld::FLDPage类 参考
类 foxit::fld::FLDPage 继承关系图:
foxit::Base

Public 成员函数

 FLDPage (const FLDPage &other)
 构造函数,通过另一个FLD页面对象。 更多...
 
 ~FLDPage ()
 析构函数。
 
foxit::RectF GetBox () const
 获取页面区域。 更多...
 
foxit::Matrix GetDisplayMatrix (int left, int top, int width, int height, foxit::common::Rotation rotate) const
 计算渲染矩阵。 更多...
 
float GetHeight () const
 获取页面高度。单位为1/72英寸。 更多...
 
foxit::common::Rotation GetRotation () const
 获取页面旋转角度。 更多...
 
float GetWidth () const
 获取页面宽度。单位为1/72英寸。 更多...
 
bool IsEmpty () const
 检查当前对象是否为空。 更多...
 
bool IsParsed () const
 检查当前对象是否已解析。 更多...
 
bool operator != (const FLDPage &other) const
 不相等操作符。 更多...
 
FLDPageoperator= (const FLDPage &other)
 赋值操作符。 更多...
 
bool operator== (const FLDPage &other) const
 相等操作符。 更多...
 
ErrorCode Parse () const
 解析当前对象。 更多...
 
- Public 成员函数 继承自 foxit::Base
FS_HANDLE Handle () const
 获取当前对象的句柄。 更多...
 

详细描述

此类表示和FLD页面相关的方法。

构造及析构函数说明

◆ FLDPage()

foxit::fld::FLDPage::FLDPage ( const FLDPage other)

构造函数,通过另一个FLD页面对象。

参数
[in]other另一个FLD页面对象。

成员函数说明

◆ GetBox()

foxit::RectF foxit::fld::FLDPage::GetBox ( ) const

获取页面区域。

返回
页面区域。坐标系为PDF坐标系。

◆ GetDisplayMatrix()

foxit::Matrix foxit::fld::FLDPage::GetDisplayMatrix ( int  left,
int  top,
int  width,
int  height,
foxit::common::Rotation  rotate 
) const

计算渲染矩阵。

参数
[in]left设备区域左上角X坐标。
[in]top设备区域左上角Y坐标。
[in]width设备区域宽度。
[in]height设备区域高度。
[in]rotate旋转角度。
返回
页面显示矩阵。

◆ GetHeight()

float foxit::fld::FLDPage::GetHeight ( ) const

获取页面高度。单位为1/72英寸。

返回
页面高度。

◆ GetRotation()

foxit::common::Rotation foxit::fld::FLDPage::GetRotation ( ) const

获取页面旋转角度。

返回
页面旋转角度。

◆ GetWidth()

float foxit::fld::FLDPage::GetWidth ( ) const

获取页面宽度。单位为1/72英寸。

返回
页面宽度。

◆ IsEmpty()

bool foxit::fld::FLDPage::IsEmpty ( ) const

检查当前对象是否为空。

当前对象为空时,表示当前对象是无用的。

返回
true 表示当前对象为空,false 表示不为空。

◆ IsParsed()

bool foxit::fld::FLDPage::IsParsed ( ) const

检查当前对象是否已解析。

返回
true 表示已解析,false 表示未解析。

◆ operator !=()

bool foxit::fld::FLDPage::operator != ( const FLDPage other) const

不相等操作符。

参数
[in]other另一个FLD页面对象。此函数将检查当前对象是否不等于这个对象。
返回
true 表示不相等,false 表示相等。

◆ operator=()

FLDPage& foxit::fld::FLDPage::operator= ( const FLDPage other)

赋值操作符。

参数
[in]other另一个FLD页面对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ operator==()

bool foxit::fld::FLDPage::operator== ( const FLDPage other) const

相等操作符。

参数
[in]other另一个FLD页面对象。此函数将检查当前对象是否等于这个对象。
返回
true 表示相等,false 表示不相等。

◆ Parse()

ErrorCode foxit::fld::FLDPage::Parse ( ) const

解析当前对象。

返回
错误码,表示解析结果。