mirror of
git://git.geda-project.org/gerbvhtdocs
synced 2025-05-10 02:48:54 +08:00
165 lines
9.7 KiB
HTML
165 lines
9.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>gerbv: src/render.h File 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.5.6 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="classes.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="dirs.html"><span>Directories</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navpath"><a class="el" href="dir_0fba06f62092f0c8d9ff47b96507f331.html">src</a>
|
|
</div>
|
|
</div>
|
|
<div class="contents">
|
|
<h1>render.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
Header info for the rendering support functions for libgerbv.
|
|
<p>
|
|
|
|
<p>Definition in file <a class="el" href="render_8h-source.html">render.h</a>.</p>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
<a href="render_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structgerbv__stats__t.html">gerbv_stats_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="render_8h.html#889cc7c2416f0b74e06688336759d383">generate_gerber_analysis</a> (void)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structgerbv__drill__stats__t.html">gerbv_drill_stats_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="render_8h.html#ffb3214e7c9e9351093ff329c3be389a">generate_drill_analysis</a> (void)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="render_8h.html#4b44ecdfc48a84c018e3529f9a2da5a8">render_calculate_zoom_from_outline</a> (GtkWidget *widget, GdkEventButton *event)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="render_8h.html#af5154df95883609a5f634defc8a8d73">render_draw_measure_distance</a> (void)</td></tr>
|
|
|
|
</table>
|
|
<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="ffb3214e7c9e9351093ff329c3be389a"></a><!-- doxytag: member="render.h::generate_drill_analysis" ref="ffb3214e7c9e9351093ff329c3be389a" args="(void)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structgerbv__drill__stats__t.html">gerbv_drill_stats_t</a>* generate_drill_analysis </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
This fills out the project's Drill statistics table. It is called from within <a class="el" href="callbacks_8c.html" title="Callback functions for the GUI widgets.">callbacks.c</a> when the user asks for a Drill report.
|
|
<p>Definition at line <a class="el" href="render_8c-source.html#l00601">601</a> of file <a class="el" href="render_8c-source.html">render.c</a>.</p>
|
|
|
|
<p>References <a class="el" href="gerbv_8h-source.html#l00560">gerbv_image_t::drill_stats</a>, <a class="el" href="gerbv_8h-source.html#l00586">gerbv_project_t::file</a>, <a class="el" href="drill__stats_8c-source.html#l00083">gerbv_drill_stats_add_layer()</a>, <a class="el" href="drill__stats_8c-source.html#l00050">gerbv_drill_stats_new()</a>, <a class="el" href="gerbv_8h-source.html#l00184">GERBV_LAYERTYPE_DRILL</a>, <a class="el" href="gerbv_8h-source.html#l00565">gerbv_fileinfo_t::image</a>, <a class="el" href="gerbv_8h-source.html#l00568">gerbv_fileinfo_t::isVisible</a>, <a class="el" href="gerbv_8h-source.html#l00551">gerbv_image_t::layertype</a>, <a class="el" href="main_8c-source.html#l00157">mainProject</a>, and <a class="el" href="gerbv_8h-source.html#l00585">gerbv_project_t::max_files</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="callbacks_8c-source.html#l00870">callbacks_analyze_active_drill_activate()</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="889cc7c2416f0b74e06688336759d383"></a><!-- doxytag: member="render.h::generate_gerber_analysis" ref="889cc7c2416f0b74e06688336759d383" args="(void)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structgerbv__stats__t.html">gerbv_stats_t</a>* generate_gerber_analysis </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
This fills out the project's Gerber statistics table. It is called from within <a class="el" href="callbacks_8c.html" title="Callback functions for the GUI widgets.">callbacks.c</a> when the user asks for a Gerber report.
|
|
<p>Definition at line <a class="el" href="render_8c-source.html#l00574">574</a> of file <a class="el" href="render_8c-source.html">render.c</a>.</p>
|
|
|
|
<p>References <a class="el" href="gerbv_8h-source.html#l00586">gerbv_project_t::file</a>, <a class="el" href="gerbv_8h-source.html#l00183">GERBV_LAYERTYPE_RS274X</a>, <a class="el" href="gerbv_8h-source.html#l00559">gerbv_image_t::gerbv_stats</a>, <a class="el" href="gerb__stats_8c-source.html#l00094">gerbv_stats_add_layer()</a>, <a class="el" href="gerb__stats_8c-source.html#l00049">gerbv_stats_new()</a>, <a class="el" href="gerbv_8h-source.html#l00565">gerbv_fileinfo_t::image</a>, <a class="el" href="gerbv_8h-source.html#l00568">gerbv_fileinfo_t::isVisible</a>, <a class="el" href="gerbv_8h-source.html#l00551">gerbv_image_t::layertype</a>, <a class="el" href="main_8c-source.html#l00157">mainProject</a>, and <a class="el" href="gerbv_8h-source.html#l00585">gerbv_project_t::max_files</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="callbacks_8c-source.html#l00473">callbacks_analyze_active_gerbers_activate()</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="4b44ecdfc48a84c018e3529f9a2da5a8"></a><!-- doxytag: member="render.h::render_calculate_zoom_from_outline" ref="4b44ecdfc48a84c018e3529f9a2da5a8" args="(GtkWidget *widget, GdkEventButton *event)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void render_calculate_zoom_from_outline </td>
|
|
<td>(</td>
|
|
<td class="paramtype">GtkWidget * </td>
|
|
<td class="paramname"> <em>widget</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">GdkEventButton * </td>
|
|
<td class="paramname"> <em>event</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Will determine the outline of the zoomed regions.
|
|
<p>
|
|
In case region to be zoomed is too small (which correspondes e.g. to a double click) it is interpreted as a right-click and will be used to identify a part from the CURRENT selection, which is drawn on screen
|
|
<p>Definition at line <a class="el" href="render_8c-source.html#l00166">166</a> of file <a class="el" href="render_8c-source.html">render.c</a>.</p>
|
|
|
|
<p>References <a class="el" href="gerbv_8h-source.html#l00612">gerbv_render_info_t::displayHeight</a>, <a class="el" href="gerbv_8h-source.html#l00611">gerbv_render_info_t::displayWidth</a>, <a class="el" href="gerbv_8h-source.html#l00608">gerbv_render_info_t::lowerLeftX</a>, <a class="el" href="gerbv_8h-source.html#l00609">gerbv_render_info_t::lowerLeftY</a>, <a class="el" href="gerbv_8h-source.html#l00606">gerbv_render_info_t::scaleFactorX</a>, <a class="el" href="gerbv_8h-source.html#l00607">gerbv_render_info_t::scaleFactorY</a>, and <a class="el" href="main_8c-source.html#l00158">screen</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="af5154df95883609a5f634defc8a8d73"></a><!-- doxytag: member="render.h::render_draw_measure_distance" ref="af5154df95883609a5f634defc8a8d73" args="(void)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void render_draw_measure_distance </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Displays a measured distance graphically on screen and in statusbar.
|
|
<p>
|
|
activated when using SHIFT and mouse dragged to measure distances<br>
|
|
under win32 graphical annotations are currently disabled (GTK 2.47)
|
|
<p>Definition at line <a class="el" href="render_8c-source.html#l00299">299</a> of file <a class="el" href="render_8c-source.html">render.c</a>.</p>
|
|
|
|
<p>References <a class="el" href="gerbv_8h-source.html#l00606">gerbv_render_info_t::scaleFactorX</a>, <a class="el" href="gerbv_8h-source.html#l00607">gerbv_render_info_t::scaleFactorY</a>, and <a class="el" href="main_8c-source.html#l00158">screen</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
</div>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Aug 19 00:14:51 2008 for gerbv by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
|
|
</body>
|
|
</html>
|