1 #ifndef FS_OFD_LAYER_H_ 2 #define FS_OFD_LAYER_H_ 5 #include "graphics/fs_ofdgraphicsobject.h" 6 #include "graphics/fs_ofdtextobject.h" 7 #include "graphics/fs_ofdpathobject.h" 8 #include "graphics/fs_ofdimageobject.h" 9 #include "graphics/fs_ofdcompositeobject.h" 38 typedef enum _LayerType {
52 typedef enum _GraphicsObjectType {
260 #endif // FS_OFD_LAYER_H_ graphics::OFDTextObject AddTextObject()
添加图元对象-文本对象。
int GetGraphicsObjectIndexByName(const String &name) const
通过名称获取图元对象索引。
OFDLayer(const OFDLayer &other)
构造函数,通过另一个OFD层对象。
graphics::OFDGraphicsObject AddGraphicsObject(GraphicsObjectType type)
添加图元对象。
int GetGraphicsObjectCount() const
获取图元对象数量。
Definition: fs_ofdgraphicsobject.h:177
层类型。
Definition: fs_ofdlayer.h:56
graphics::OFDCompositeObject AddCompositeObject()
添加图元对象-复合对象。
矢量对象。
Definition: fs_ofdlayer.h:62
bool operator !=(const OFDLayer &other) const
不相等操作符。
Definition: fs_ofdpathobject.h:206
GraphicsObjectType GetGraphicsObjectType(int index) const
获取指定索引的图元对象类型。
文本对象。
Definition: fs_ofdlayer.h:64
void RemoveGraphicsObject(int index)
删除指定索引的图元对象。
bool operator==(const OFDLayer &other) const
相等操作符。
前景层。
Definition: fs_ofdlayer.h:44
graphics::OFDBlockObject AddBlockObject()
添加图元对象-块对象。
void SetType(LayerType type=e_LayerTypeBody)
设置类型
路径对象。
Definition: fs_ofdlayer.h:66
视频对象。
Definition: fs_ofdlayer.h:70
bool IsEmpty() const
检查当前对象是否为空。
graphics::OFDVideoObject AddVideoObject()
添加图元对象-视频对象。
未知类型。
Definition: fs_ofdlayer.h:54
graphics::OFDImageObject AddImageObject()
添加图元对象-图像对象。
复合对象。
Definition: fs_ofdlayer.h:60
graphics::OFDGraphicsObject GetGraphicsObjectByID(int id)
通过ID获取图元对象。
Definition: fs_ofdblockobject.h:21
图像类型。
Definition: fs_ofdlayer.h:68
void * FS_HANDLE
句柄类型。
Definition: fs_basictypes.h:213
GraphicsObjectType
OFD页面对象类型类型枚举。
Definition: fs_ofdlayer.h:52
背景层。
Definition: fs_ofdlayer.h:40
Definition: fs_ofdimageobject.h:22
void RemoveAllGraphicsObjects()
删除所有图元对象。
OFDLayer & operator=(const OFDLayer &other)
赋值操作符。
页面块对象。
Definition: fs_ofdlayer.h:58
Definition: fs_ofdcompositeobject.h:111
Foxit命名空间。
Definition: fs_pdf3d.h:26
graphics::OFDBlockObject GetPageBlock(int index) const
获取指定索引的页面块对象。
字节字符串类
Definition: fx_string.h:317
LayerType
OFD页面层类型枚举。
Definition: fs_ofdlayer.h:38
Definition: fs_ofdlayer.h:31
正文层。
Definition: fs_ofdlayer.h:42
graphics::OFDGraphicsObject GetGraphicsObject(int index) const
获取指定索引的图元对象。
Definition: fs_ofdtextobject.h:90
graphics::OFDPathObject AddPathObject()
添加图元对象-路径对象。
Definition: fs_ofdvideoobject.h:22