mapnik/docs/api_docs/python/mapnik._mapnik.aspect_fix_mode-class.html

397 lines
15 KiB
HTML
Raw Normal View History

<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>mapnik._mapnik.aspect_fix_mode</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script type="text/javascript" src="epydoc.js"></script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="#204080"
alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="mapnik-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
</tr></table></th>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="100%">
<span class="breadcrumbs">
<a href="mapnik-module.html">Package&nbsp;mapnik</a> ::
<a href="mapnik._mapnik-module.html" onclick="show_private();">Module&nbsp;_mapnik</a> ::
Class&nbsp;aspect_fix_mode
</span>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<!-- hide/show private -->
</table>
</td>
</tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class aspect_fix_mode</h1><p class="nomargin-top"></p>
<pre class="base-tree">
object --+
|
int --+
|
??.enum --+
|
<strong class="uidshort">aspect_fix_mode</strong>
</pre>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td align="left" colspan="2" class="table-header">
<span class="table-header">Instance Methods</span></td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code><i>unreachable</i>.enum</code></b>:
<code>__repr__</code>,
<code>__str__</code>
</p>
<p class="indent-wrapped-lines"><b>Inherited from <code>int</code></b>:
<code>__abs__</code>,
<code>__add__</code>,
<code>__and__</code>,
<code>__cmp__</code>,
<code>__coerce__</code>,
<code>__div__</code>,
<code>__divmod__</code>,
<code>__float__</code>,
<code>__floordiv__</code>,
<code>__getattribute__</code>,
<code>__getnewargs__</code>,
<code>__hash__</code>,
<code>__hex__</code>,
<code>__index__</code>,
<code>__int__</code>,
<code>__invert__</code>,
<code>__long__</code>,
<code>__lshift__</code>,
<code>__mod__</code>,
<code>__mul__</code>,
<code>__neg__</code>,
<code>__new__</code>,
<code>__nonzero__</code>,
<code>__oct__</code>,
<code>__or__</code>,
<code>__pos__</code>,
<code>__pow__</code>,
<code>__radd__</code>,
<code>__rand__</code>,
<code>__rdiv__</code>,
<code>__rdivmod__</code>,
<code>__rfloordiv__</code>,
<code>__rlshift__</code>,
<code>__rmod__</code>,
<code>__rmul__</code>,
<code>__ror__</code>,
<code>__rpow__</code>,
<code>__rrshift__</code>,
<code>__rshift__</code>,
<code>__rsub__</code>,
<code>__rtruediv__</code>,
<code>__rxor__</code>,
<code>__sub__</code>,
<code>__truediv__</code>,
<code>__xor__</code>
</p>
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__delattr__</code>,
<code>__init__</code>,
<code>__reduce__</code>,
<code>__reduce_ex__</code>,
<code>__setattr__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td align="left" colspan="2" class="table-header">
<span class="table-header">Class Variables</span></td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="mapnik._mapnik.aspect_fix_mode-class.html#ADJUST_BBOX_HEIGHT" class="summary-name">ADJUST_BBOX_HEIGHT</a> = <code title="mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT">mapnik._mapnik.aspect_fix_mode.ADJUST_BBO<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="mapnik._mapnik.aspect_fix_mode-class.html#ADJUST_BBOX_WIDTH" class="summary-name">ADJUST_BBOX_WIDTH</a> = <code title="mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_WIDTH">mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="mapnik._mapnik.aspect_fix_mode-class.html#ADJUST_CANVAS_HEIGHT" class="summary-name">ADJUST_CANVAS_HEIGHT</a> = <code title="mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_HEIGHT">mapnik._mapnik.aspect_fix_mode.ADJUST_C<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="mapnik._mapnik.aspect_fix_mode-class.html#ADJUST_CANVAS_WIDTH" class="summary-name">ADJUST_CANVAS_WIDTH</a> = <code title="mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_WIDTH">mapnik._mapnik.aspect_fix_mode.ADJUST_CA<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="GROW_BBOX"></a><span class="summary-name">GROW_BBOX</span> = <code title="mapnik._mapnik.aspect_fix_mode.GROW_BBOX">mapnik._mapnik.aspect_fix_mode.GROW_BBOX</code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="GROW_CANVAS"></a><span class="summary-name">GROW_CANVAS</span> = <code title="mapnik._mapnik.aspect_fix_mode.GROW_CANVAS">mapnik._mapnik.aspect_fix_mode.GROW_CANVAS</code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="SHRINK_BBOX"></a><span class="summary-name">SHRINK_BBOX</span> = <code title="mapnik._mapnik.aspect_fix_mode.SHRINK_BBOX">mapnik._mapnik.aspect_fix_mode.SHRINK_BBOX</code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a name="SHRINK_CANVAS"></a><span class="summary-name">SHRINK_CANVAS</span> = <code title="mapnik._mapnik.aspect_fix_mode.SHRINK_CANVAS">mapnik._mapnik.aspect_fix_mode.SHRINK_CANVAS</code>
</td>
</tr>
<tr>
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<a href="mapnik._mapnik.aspect_fix_mode-class.html#values" class="summary-name">values</a> = <code title="{0: mapnik._mapnik.aspect_fix_mode.GROW_BBOX,
1: mapnik._mapnik.aspect_fix_mode.GROW_CANVAS,
2: mapnik._mapnik.aspect_fix_mode.SHRINK_BBOX,
3: mapnik._mapnik.aspect_fix_mode.SHRINK_CANVAS,
4: mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_WIDTH,
5: mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT,
6: mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_WIDTH,
7: mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_HEIGHT}"><code class="variable-group">{</code>0<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.GROW_BBOX<code class="variable-op">, </code>1<code class="variable-op">: </code>mapn<code class="variable-ellipsis">...</code></code>
</td>
</tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td align="left" colspan="2" class="table-header">
<span class="table-header">Properties</span></td>
</tr>
<tr>
<td colspan="2" class="summary">
<p class="indent-wrapped-lines"><b>Inherited from <code><i>unreachable</i>.enum</code></b>:
<code>name</code>
</p>
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
<code>__class__</code>
</p>
</td>
</tr>
</table>
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
<td align="left" colspan="2" class="table-header">
<span class="table-header">Class Variable Details</span></td>
</tr>
</table>
<a name="ADJUST_BBOX_HEIGHT"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">ADJUST_BBOX_HEIGHT</h3>
<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a name="ADJUST_BBOX_WIDTH"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">ADJUST_BBOX_WIDTH</h3>
<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_WIDTH
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a name="ADJUST_CANVAS_HEIGHT"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">ADJUST_CANVAS_HEIGHT</h3>
<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_HEIGHT
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a name="ADJUST_CANVAS_WIDTH"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">ADJUST_CANVAS_WIDTH</h3>
<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_WIDTH
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a name="values"></a>
<div>
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">values</h3>
<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code>0<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.GROW_BBOX<code class="variable-op">,</code>
1<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.GROW_CANVAS<code class="variable-op">,</code>
2<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.SHRINK_BBOX<code class="variable-op">,</code>
3<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.SHRINK_CANVAS<code class="variable-op">,</code>
4<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_WIDTH<code class="variable-op">,</code>
5<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.ADJUST_BBOX_HEIGHT<code class="variable-op">,</code>
6<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_WIDTH<code class="variable-op">,</code>
7<code class="variable-op">: </code>mapnik._mapnik.aspect_fix_mode.ADJUST_CANVAS_HEIGHT<code class="variable-group">}</code>
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
bgcolor="#a0c0ff" cellspacing="0">
<tr valign="middle">
<!-- Home link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="mapnik-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Tree link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Index link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Help link -->
<th>&nbsp;&nbsp;&nbsp;<a
href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
<!-- Project homepage -->
<th class="navbar" align="right" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr><th class="navbar" align="center"
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
</tr></table></th>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
2009-04-12 21:37:42 +00:00
Generated by Epydoc 3.0.1 on Sun Apr 12 14:37:27 2009
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
>http://epydoc.sourceforge.net</a>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
// Private objects are initially displayed (because if
// javascript is turned off then we want them to be
// visible); but by default, we want to hide them. So hide
// them unless we have a cookie that says to show them.
checkCookie();
// -->
</script>
</body>
</html>