Foxit PDF SDK
FSRenderConfig类 参考

继承自 NSObject .

构造函数

(id) - init
 构造函数。

 
(id) - initWithGraphics_objs_count_in_one_step:
 带参数的构造函数。
更多...
 
(void) - set:
 设置值。
更多...
 

属性

int graphics_objs_count_in_one_step
 在渐进式渲染过程中一步中要渲染的图形对象数量。这应该是一个正值。
更多...
 

详细描述

此类表示渲染配置,这是一个全局配置。 此配置可以通过函数 FSLibrary::getRenderConfig 获取,通过函数 FSLibrary::setRenderConfig: 设置。

函数文档

◆ initWithGraphics_objs_count_in_one_step:()

- (id) initWithGraphics_objs_count_in_one_step: (int)  graphics_objs_count_in_one_step

带参数的构造函数。

参数
[in]graphics_objs_count_in_one_step在渐进式渲染过程中一步中要渲染的图形对象数量。 这应该是一个正值。

◆ set:()

- (void) set: (int)  graphics_objs_count_in_one_step

设置值。

参数
[in]graphics_objs_count_in_one_step在渐进式渲染过程中一步中要渲染的图形对象数量。 这应该是一个正值。

@ return 无。

属性说明

◆ graphics_objs_count_in_one_step

- (int) graphics_objs_count_in_one_step
readwritenonatomicassign

在渐进式渲染过程中一步中要渲染的图形对象数量。这应该是一个正值。

在Foxit PDF SDK中,渲染过程可以是渐进式的——这意味着渲染过程将被分成 许多步骤,在每个步骤中将渲染一定数量的图形对象。当一个步骤 完成时,Foxit PDF SDK将检查并询问用户当前过程是否需要暂停 (如果 用于 FSRenderer::startRender:matrix:pause: 过程)。 这个特定数量仅用作Foxit PDF SDK在渐进式渲染过程中决定何时检查的建议, 但无法完全控制渐进式渲染过程中的步骤数。 例如,当要渲染表单XObject或着色对象时,Foxit PDF SDK将询问用户 当前过程是否需要暂停,而不考虑此计数。