IPluginZoom Struct Reference

Universal Document Shell Plugin Zoom interface Through IPluginZoom, caller can set/get zoom factors to/from plugin. The zoom factor used here are the ratio related to the whole page. That means the value zone of a zoom factor is [0,1]. More...

#include <plugin_zoom.h>

Inheritance diagram for IPluginZoom:
Inheritance graph
[legend]

Data Fields

PluginStatus(* set_zoom_factor )(IPluginUnknown *thiz, const float zoom_factor)
 Set zoom factor.
float(* get_zoom_factor )(IPluginUnknown *thiz)
 Query zoom factor.

Detailed Description

Universal Document Shell Plugin Zoom interface Through IPluginZoom, caller can set/get zoom factors to/from plugin. The zoom factor used here are the ratio related to the whole page. That means the value zone of a zoom factor is [0,1].

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.

Definition at line 44 of file plugin_zoom.h.


Field Documentation

Query zoom factor.

Parameters:
thiz IPluginUnknown pointer to the render settings object.
Returns:
Zoom factor in float type.

Referenced by pdf::PluginRenderResultImpl::PluginRenderResultImpl(), images::PluginRenderResultImpl::PluginRenderResultImpl(), pdf::PluginRenderSettingsImpl::PluginRenderSettingsImpl(), and images::PluginRenderSettingsImpl::PluginRenderSettingsImpl().

PluginStatus(* IPluginZoom::set_zoom_factor)(IPluginUnknown *thiz, const float zoom_factor)

Set zoom factor.

Parameters:
thiz IPluginUnknown pointer to the render settings object.
zoom_factor Zoom factor to be set.
Returns:
TODO. Add return codes here.

Referenced by pdf::PluginRenderResultImpl::PluginRenderResultImpl(), images::PluginRenderResultImpl::PluginRenderResultImpl(), pdf::PluginRenderSettingsImpl::PluginRenderSettingsImpl(), and images::PluginRenderSettingsImpl::PluginRenderSettingsImpl().


The documentation for this struct was generated from the following file:
Generated by  doxygen 1.6.2-20100208