⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interfacegnome_1_1magnifier_1_1magnifier.html

📁 在Linux下实现magnification功能
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>gnome-mag: GNOME::Magnifier::Magnifier Interface Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.7 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="namespaces.html"><span>Namespaces</span></a></li>    <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>    <li><a href="dirs.html"><span>Directories</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>  </ul></div><div class="nav"><a class="el" href="namespaceGNOME.html">GNOME</a>::<a class="el" href="namespaceGNOME_1_1Magnifier.html">Magnifier</a>::<a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html">Magnifier</a></div><h1>GNOME::Magnifier::Magnifier Interface Reference</h1><!-- doxytag: class="GNOME::Magnifier::Magnifier" --><code>import &quot;<a class="el" href="GNOME__Magnifier_8idl-source.html">GNOME_Magnifier.idl</a>&quot;;</code><p><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">Bonobo::PropertyBag&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#8342a96a266dfcfaa15f3ca47a29baa6">getProperties</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current property settings for this <a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html">Magnifier</a>.  <a href="#8342a96a266dfcfaa15f3ca47a29baa6"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1ZoomRegion.html">ZoomRegion</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#fac00bbf15995360e19d70e84da242dd">createZoomRegion</a> (in float zx, in float zy, in <a class="el" href="structGNOME_1_1Magnifier_1_1RectBounds.html">RectBounds</a> ROI, in <a class="el" href="structGNOME_1_1Magnifier_1_1RectBounds.html">RectBounds</a> viewport)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new zoom region for the magnifier.  <a href="#fac00bbf15995360e19d70e84da242dd"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespaceGNOME_1_1Magnifier.html#12423e5ae129d77f56f76a7e47691a2e">ZoomRegionList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#c41ff1059604b09942904a56cdfee385">getZoomRegions</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#61fca2e87d41943aebda8f4c25dd1662">addZoomRegion</a> (in <a class="el" href="interfaceGNOME_1_1Magnifier_1_1ZoomRegion.html">ZoomRegion</a> region)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a new <a class="el" href="interfaceGNOME_1_1Magnifier_1_1ZoomRegion.html">ZoomRegion</a> to the list of currently defined ZoomRegions for this <a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html">Magnifier</a> instance.  <a href="#61fca2e87d41943aebda8f4c25dd1662"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#790b11aab1319eee4ae5075637df5842">clearAllZoomRegions</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears and destroys all currently defined zoom regions.  <a href="#790b11aab1319eee4ae5075637df5842"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#6342ae2234075567efc65f30e773938e">dispose</a> ()</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unmap the current magnifier from the display, destroy its resources, and exit.  <a href="#6342ae2234075567efc65f30e773938e"></a><br></td></tr><tr><td colspan="2"><br><h2>Data Fields</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">attribute string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#2c9f96a2911a4d59f010a7b631a32548">SourceDisplay</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">a <code>string</code> specifying the name of the display and screen (on X Windows systems, as used by XOpenDisplay) on which the "source" pixels (e.g.  <a href="#2c9f96a2911a4d59f010a7b631a32548"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">attribute string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html#f63ae74697cd5a1f40c2dbe1439c5f7b">TargetDisplay</a></td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">a <code>string</code> specifying the name of the display and screen onto which the magnified image is to be placed.  <a href="#f63ae74697cd5a1f40c2dbe1439c5f7b"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><p><p>Definition at line <a class="el" href="GNOME__Magnifier_8idl-source.html#l00193">193</a> of file <a class="el" href="GNOME__Magnifier_8idl-source.html">GNOME_Magnifier.idl</a>.<hr><h2>Member Function Documentation</h2><a class="anchor" name="8342a96a266dfcfaa15f3ca47a29baa6"></a><!-- doxytag: member="GNOME::Magnifier::Magnifier::getProperties" ref="8342a96a266dfcfaa15f3ca47a29baa6" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">Bonobo::PropertyBag GNOME::Magnifier::Magnifier::getProperties           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Get the current property settings for this <a class="el" href="interfaceGNOME_1_1Magnifier_1_1Magnifier.html">Magnifier</a>. <p>Properties managed by the magnifier include "cursor-set", "cursor-size", "cursor-mag-factor", "target-display-bounds", "source-display-size". <dl compact><dt><b>Returns:</b></dt><dd>a Bonobo::PropertyBag containing the Magnifier's properties. </dd></dl></div></div><p><a class="anchor" name="fac00bbf15995360e19d70e84da242dd"></a><!-- doxytag: member="GNOME::Magnifier::Magnifier::createZoomRegion" ref="fac00bbf15995360e19d70e84da242dd" args="(in float zx, in float zy, in RectBounds ROI, in RectBounds viewport)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname"><a class="el" href="interfaceGNOME_1_1Magnifier_1_1ZoomRegion.html">ZoomRegion</a> GNOME::Magnifier::Magnifier::createZoomRegion           </td>          <td>(</td>          <td class="paramtype">in float&nbsp;</td>          <td class="paramname"> <em>zx</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">in float&nbsp;</td>          <td class="paramname"> <em>zy</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">in <a class="el" href="structGNOME_1_1Magnifier_1_1RectBounds.html">RectBounds</a>&nbsp;</td>          <td class="paramname"> <em>ROI</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">in <a class="el" href="structGNOME_1_1Magnifier_1_1RectBounds.html">RectBounds</a>&nbsp;</td>          <td class="paramname"> <em>viewport</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Create a new zoom region for the magnifier. <p>The new region is initially 'unmanaged'; that is, it is not associated with a particular sub-region of the "source" display. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>zx,:</em>&nbsp;</td><td>the scale factor in the x direction for the new zoom region </td></tr>    <tr><td valign="top"></td><td valign="top"><em>zy,:</em>&nbsp;</td><td>the scale factor in the y direction for the new zoom region </td></tr>    <tr><td valign="top"></td><td valign="top"><em>ROI,:</em>&nbsp;</td><td>the initial ROI of the zoom region. <a class="el" href="structGNOME_1_1Magnifier_1_1RectBounds.html">RectBounds</a> of negative width/height indicates that the zoom region has no initial ROI. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>viewport,:</em>&nbsp;</td><td>the initial bounds of the ZoomRegion's viewport, in the target display coordinate system. </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>the newly created <a class="el" href="interfaceGNOME_1_1Magnifier_1_1ZoomRegion.html">ZoomRegion</a>. </dd></dl></div></div><p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -