<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="cairo" version="1.0"/>
  <doc:format name="unknown"/>
  <namespace name="Memphis"
             version="0.2"
             shared-library="libmemphis-0.2.so.0"
             c:identifier-prefixes="Memphis"
             c:symbol-prefixes="memphis">
    <function-macro name="DATA_POOL"
                    c:identifier="MEMPHIS_DATA_POOL"
                    introspectable="0">
      <source-position filename="memphis-data-pool.h" line="29"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DATA_POOL_CLASS"
                    c:identifier="MEMPHIS_DATA_POOL_CLASS"
                    introspectable="0">
      <source-position filename="memphis-data-pool.h" line="32"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DATA_POOL_GET_CLASS"
                    c:identifier="MEMPHIS_DATA_POOL_GET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-data-pool.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="DataPool"
           c:symbol-prefix="data_pool"
           c:type="MemphisDataPool"
           parent="GObject.Object"
           glib:type-name="MemphisDataPool"
           glib:get-type="memphis_data_pool_get_type"
           glib:type-struct="DataPoolClass">
      <source-position filename="memphis-data-pool.h" line="52"/>
      <constructor name="new"
                   c:identifier="memphis_data_pool_new"
                   version="0.1">
        <source-position filename="memphis-data-pool.h" line="56"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-data-pool.c"
               line="85">a reference to the #MemphisDataPool.</doc>
          <type name="DataPool" c:type="MemphisDataPool*"/>
        </return-value>
      </constructor>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="stringChunk">
        <type name="GLib.StringChunk" c:type="GStringChunk*"/>
      </field>
      <field name="stringTree">
        <type name="GLib.Tree" c:type="GTree*"/>
      </field>
    </class>
    <record name="DataPoolClass"
            c:type="MemphisDataPoolClass"
            glib:is-gtype-struct-for="DataPool">
      <source-position filename="memphis-data-pool.h" line="52"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <function-macro name="IS_DATA_POOL"
                    c:identifier="MEMPHIS_IS_DATA_POOL"
                    introspectable="0">
      <source-position filename="memphis-data-pool.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DATA_POOL_CLASS"
                    c:identifier="MEMPHIS_IS_DATA_POOL_CLASS"
                    introspectable="0">
      <source-position filename="memphis-data-pool.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MAP"
                    c:identifier="MEMPHIS_IS_MAP"
                    introspectable="0">
      <source-position filename="memphis-map.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MAP_CLASS"
                    c:identifier="MEMPHIS_IS_MAP_CLASS"
                    introspectable="0">
      <source-position filename="memphis-map.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RENDERER"
                    c:identifier="MEMPHIS_IS_RENDERER"
                    introspectable="0">
      <source-position filename="memphis-renderer.h" line="29"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RENDERER_CLASS"
                    c:identifier="MEMPHIS_IS_RENDERER_CLASS"
                    introspectable="0">
      <source-position filename="memphis-renderer.h" line="31"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RULE_SET"
                    c:identifier="MEMPHIS_IS_RULE_SET"
                    introspectable="0">
      <source-position filename="memphis-rule-set.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_RULE_SET_CLASS"
                    c:identifier="MEMPHIS_IS_RULE_SET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-rule-set.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP" c:identifier="MEMPHIS_MAP" introspectable="0">
      <source-position filename="memphis-map.h" line="29"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP_CLASS"
                    c:identifier="MEMPHIS_MAP_CLASS"
                    introspectable="0">
      <source-position filename="memphis-map.h" line="32"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MAP_GET_CLASS"
                    c:identifier="MEMPHIS_MAP_GET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-map.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Map"
           c:symbol-prefix="map"
           c:type="MemphisMap"
           parent="GObject.Object"
           glib:type-name="MemphisMap"
           glib:get-type="memphis_map_get_type"
           glib:type-struct="MapClass">
      <source-position filename="memphis-map.h" line="50"/>
      <constructor name="new" c:identifier="memphis_map_new" version="0.1">
        <source-position filename="memphis-map.h" line="54"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-map.c"
               line="106">a new #MemphisMap without any data.</doc>
          <type name="Map" c:type="MemphisMap*"/>
        </return-value>
      </constructor>
      <method name="free" c:identifier="memphis_map_free" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-map.c"
             line="163">Frees the memory of a #MemphisMap.</doc>
        <source-position filename="memphis-map.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="165">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bounding_box"
              c:identifier="memphis_map_get_bounding_box"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-map.c"
             line="177">Get the exent of the bounding box that contains all map data.</doc>
        <source-position filename="memphis-map.h" line="65"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="179">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </instance-parameter>
          <parameter name="minlat"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="180">the minimum latitude</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="minlon"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="181">the minimum longitude</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="maxlat"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="182">the maximum latitude</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="maxlon"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="183">the maximum longitude</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_from_data"
              c:identifier="memphis_map_load_from_data"
              version="0.2"
              throws="1">
        <doc xml:space="preserve"
             filename="memphis-map.c"
             line="139">Load map data from an OSM XML file.</doc>
        <source-position filename="memphis-map.h" line="60"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="141">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="142">a character array with OSM data</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="143">the size of the array</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_from_file"
              c:identifier="memphis_map_load_from_file"
              version="0.2"
              throws="1">
        <doc xml:space="preserve"
             filename="memphis-map.c"
             line="116">Load map data from an OSM XML file.</doc>
        <source-position filename="memphis-map.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="118">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-map.c"
                 line="119">a path to a OSM map file</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="MapClass"
            c:type="MemphisMapClass"
            glib:is-gtype-struct-for="Map">
      <source-position filename="memphis-map.h" line="50"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <function-macro name="RENDERER"
                    c:identifier="MEMPHIS_RENDERER"
                    introspectable="0">
      <source-position filename="memphis-renderer.h" line="28"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RENDERER_CLASS"
                    c:identifier="MEMPHIS_RENDERER_CLASS"
                    introspectable="0">
      <source-position filename="memphis-renderer.h" line="30"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RENDERER_GET_CLASS"
                    c:identifier="MEMPHIS_RENDERER_GET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-renderer.h" line="32"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RULE" c:identifier="MEMPHIS_RULE" introspectable="0">
      <source-position filename="memphis-rule.h" line="29"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RULE_ATTR"
                    c:identifier="MEMPHIS_RULE_ATTR"
                    introspectable="0">
      <source-position filename="memphis-rule.h" line="33"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RULE_SET"
                    c:identifier="MEMPHIS_RULE_SET"
                    introspectable="0">
      <source-position filename="memphis-rule-set.h" line="30"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RULE_SET_CLASS"
                    c:identifier="MEMPHIS_RULE_SET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-rule-set.h" line="33"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="RULE_SET_GET_CLASS"
                    c:identifier="MEMPHIS_RULE_SET_GET_CLASS"
                    introspectable="0">
      <source-position filename="memphis-rule-set.h" line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Renderer"
           c:symbol-prefix="renderer"
           c:type="MemphisRenderer"
           parent="GObject.Object"
           glib:type-name="MemphisRenderer"
           glib:get-type="memphis_renderer_get_type"
           glib:type-struct="RendererClass">
      <source-position filename="memphis-renderer.h" line="47"/>
      <constructor name="new"
                   c:identifier="memphis_renderer_new"
                   version="0.1">
        <source-position filename="memphis-renderer.h" line="51"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="99">a fresh #MemphisRenderer.</doc>
          <type name="Renderer" c:type="MemphisRenderer*"/>
        </return-value>
      </constructor>
      <constructor name="new_full"
                   c:identifier="memphis_renderer_new_full"
                   version="0.1">
        <source-position filename="memphis-renderer.h" line="52"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="114">a fresh #MemphisRenderer with the given rules and map.</doc>
          <type name="Renderer" c:type="MemphisRenderer*"/>
        </return-value>
        <parameters>
          <parameter name="rules"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="111">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </parameter>
          <parameter name="map"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="112">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="draw_png"
              c:identifier="memphis_renderer_draw_png"
              introspectable="0">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="146">Does not obey resolution settings!
It creates a png of the whole data of unpredictable size.
probably not a very useful function for a generic library.
Should be removed!</doc>
        <source-position filename="memphis-renderer.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="148">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="149">the path to the output file</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="150">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="draw_tile"
              c:identifier="memphis_renderer_draw_tile"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="216">Renders a tile.</doc>
        <source-position filename="memphis-renderer.h" line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="218">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="cr"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="219">a Cairo context</doc>
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="220">x coordinates</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="221">y coordinates</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="222">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="memphis_renderer_free" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="130">Frees the memory of #MemphisRenderer.</doc>
        <source-position filename="memphis-renderer.h" line="54"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="132">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_column_count"
              c:identifier="memphis_renderer_get_column_count"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="560">the total number of tile columns for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="557">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="558">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_map"
              c:identifier="memphis_renderer_get_map"
              glib:get-property="map"
              version="0.1"
              introspectable="0">
        <source-position filename="memphis-renderer.h" line="64"/>
        <return-value nullable="1">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="349">the #MemphisMap of this renderer.</doc>
          <type name="Map" c:type="MemphisMap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="347">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_max_x_tile"
              c:identifier="memphis_renderer_get_max_x_tile"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="604">the biggest tile x coordinate with data for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="601">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="602">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_max_y_tile"
              c:identifier="memphis_renderer_get_max_y_tile"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="658">the biggest tile y coordinate with data for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="655">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="656">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_min_x_tile"
              c:identifier="memphis_renderer_get_min_x_tile"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="577">the smallest tile x coordinate with data for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="574">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="575">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_min_y_tile"
              c:identifier="memphis_renderer_get_min_y_tile"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="631">the smallest tile y coordinate with data for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="628">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="629">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_resolution"
              c:identifier="memphis_renderer_get_resolution"
              glib:get-property="resolution"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="311">the resoltion of a tile.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="309">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_row_count"
              c:identifier="memphis_renderer_get_row_count"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="543">the total number of tile rows for this zoom level.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="540">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="541">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_rule_set"
              c:identifier="memphis_renderer_get_rule_set"
              glib:get-property="rule-set"
              version="0.1"
              introspectable="0">
        <source-position filename="memphis-renderer.h" line="65"/>
        <return-value nullable="1">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="389">the #MemphisRuleSet of the renderer.</doc>
          <type name="RuleSet" c:type="MemphisRuleSet*"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="387">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_map"
              c:identifier="memphis_renderer_set_map"
              glib:set-property="map"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="324">Assigns a #MemphisMap to the renderer.</doc>
        <source-position filename="memphis-renderer.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="326">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="map" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="327">a #MemphisMap</doc>
            <type name="Map" c:type="MemphisMap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_resolution"
              c:identifier="memphis_renderer_set_resolution"
              glib:set-property="resolution"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="289">Set the resoltion of a tile.</doc>
        <source-position filename="memphis-renderer.h" line="56"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="291">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="resolution" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="292">the resolution of a tile</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_rule_set"
              c:identifier="memphis_renderer_set_rule_set"
              glib:set-property="rule-set"
              version="0.2">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="362">Sets the drawing rules for the renderer.</doc>
        <source-position filename="memphis-renderer.h" line="60"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="364">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="365">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </parameter>
        </parameters>
      </method>
      <method name="tile_has_data"
              c:identifier="memphis_renderer_tile_has_data"
              version="0.1">
        <source-position filename="memphis-renderer.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-renderer.c"
               line="687">true if the renderer has map data for this zoom level and tile
number.

If no data is available an empty tile with background color will be
rendered.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="renderer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="682">a #MemphisRenderer</doc>
            <type name="Renderer" c:type="MemphisRenderer*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="683">x coordinates</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="684">y coordinates</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="zoom_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-renderer.c"
                 line="685">the zoom level</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <property name="map"
                version="0.1"
                writable="1"
                transfer-ownership="none"
                setter="set_map"
                getter="get_map">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="498">A MemphisMap.</doc>
        <type name="Map"/>
      </property>
      <property name="resolution"
                version="0.1"
                writable="1"
                transfer-ownership="none"
                setter="set_resolution"
                getter="get_resolution"
                default-value="256">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="481">The tile resolution in pixels.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="rule-set"
                version="0.1"
                writable="1"
                transfer-ownership="none"
                setter="set_rule_set"
                getter="get_rule_set">
        <doc xml:space="preserve"
             filename="memphis-renderer.c"
             line="513">A MemphisRuleSet.</doc>
        <type name="RuleSet"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RendererClass"
            c:type="MemphisRendererClass"
            glib:is-gtype-struct-for="Renderer">
      <source-position filename="memphis-renderer.h" line="47"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="Rule"
            c:type="MemphisRule"
            version="0.1"
            glib:type-name="MemphisRule"
            glib:get-type="memphis_rule_get_type"
            c:symbol-prefix="rule">
      <doc xml:space="preserve"
           filename="memphis-rule.h"
           line="87">Defines a drawing rule for the #MemphisRuleSet.</doc>
      <source-position filename="memphis-rule.h" line="109"/>
      <field name="keys" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="89">an array of key strings</doc>
        <type name="utf8" c:type="gchar**"/>
      </field>
      <field name="values" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="90">an array of value strings</doc>
        <type name="utf8" c:type="gchar**"/>
      </field>
      <field name="type" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="91">the type of the rule</doc>
        <type name="RuleType" c:type="MemphisRuleType"/>
      </field>
      <field name="polygon" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="92">a pointer to the polygon or NULL</doc>
        <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
      </field>
      <field name="line" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="93">a pointer to the line or NULL</doc>
        <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
      </field>
      <field name="border" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="94">a pointer to the border or NULL</doc>
        <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
      </field>
      <field name="text" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="95">a pointer to the text or NULL</doc>
        <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
      </field>
      <constructor name="new" c:identifier="memphis_rule_new" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule.c"
             line="133">Creates a newly allocated #MemphisRule to be freed
with memphis_rule_free().</doc>
        <source-position filename="memphis-rule.h" line="114"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule.c"
               line="139">a #MemphisRule.</doc>
          <type name="Rule" c:type="MemphisRule*"/>
        </return-value>
      </constructor>
      <method name="copy" c:identifier="memphis_rule_copy" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule.c"
             line="157">Makes a copy of the memphis rule structure. The result must be
freed using memphis_rule_free().</doc>
        <source-position filename="memphis-rule.h" line="115"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule.c"
               line="164">an allocated copy of @rule.</doc>
          <type name="Rule" c:type="MemphisRule*"/>
        </return-value>
        <parameters>
          <instance-parameter name="rule" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule.c"
                 line="159">a #MemphisRule</doc>
            <type name="Rule" c:type="const MemphisRule*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="memphis_rule_free" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule.c"
             line="193">Frees a memphis rule structure created with memphis_rule_new() or
memphis_rule_copy().</doc>
        <source-position filename="memphis-rule.h" line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rule" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule.c"
                 line="195">a #MemphisRule</doc>
            <type name="Rule" c:type="MemphisRule*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <record name="RuleAttr"
            c:type="MemphisRuleAttr"
            version="0.1"
            glib:type-name="MemphisRuleAttr"
            glib:get-type="memphis_rule_attr_get_type"
            c:symbol-prefix="rule_attr">
      <doc xml:space="preserve"
           filename="memphis-rule.h"
           line="35">Defines the drawing attributes for a #MemphisRule.</doc>
      <source-position filename="memphis-rule.h" line="59"/>
      <field name="z_min" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="37">minimum visible zoom level</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="z_max" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="38">maximum visible zoom level</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="color_red" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="39">red component, between 0 and 255</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="color_green" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="40">green component, between 0 and 255</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="color_blue" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="41">blue component, between 0 and 255</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="color_alpha" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="42">transparency component, between 0 and 255</doc>
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="style" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="43">field for future use (line style, polygon pattern...)</doc>
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="size" writable="1">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="44">the size</doc>
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <constructor name="new"
                   c:identifier="memphis_rule_attr_new"
                   version="0.2.2">
        <source-position filename="memphis-rule.h" line="64"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule.c"
               line="66">a new #MemphisRuleAttr.</doc>
          <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
        </return-value>
      </constructor>
      <method name="copy"
              c:identifier="memphis_rule_attr_copy"
              version="0.2.2">
        <source-position filename="memphis-rule.h" line="65"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule.c"
               line="99">a copy of the rule attribute.</doc>
          <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
        </return-value>
        <parameters>
          <instance-parameter name="attr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule.c"
                 line="97">a #MemphisRuleAttr</doc>
            <type name="RuleAttr" c:type="const MemphisRuleAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free"
              c:identifier="memphis_rule_attr_free"
              version="0.2.2">
        <doc xml:space="preserve"
             filename="memphis-rule.c"
             line="76">Frees the memory of a #MemphisRuleAttr.</doc>
        <source-position filename="memphis-rule.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="attr" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule.c"
                 line="78">a #MemphisRuleAttr</doc>
            <type name="RuleAttr" c:type="MemphisRuleAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="RuleSet"
           c:symbol-prefix="rule_set"
           c:type="MemphisRuleSet"
           parent="GObject.Object"
           glib:type-name="MemphisRuleSet"
           glib:get-type="memphis_rule_set_get_type"
           glib:type-struct="RuleSetClass">
      <source-position filename="memphis-rule-set.h" line="51"/>
      <constructor name="new"
                   c:identifier="memphis_rule_set_new"
                   version="0.1">
        <source-position filename="memphis-rule-set.h" line="55"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule-set.c"
               line="110">a new #MemphisRuleSet whithout any rules.</doc>
          <type name="RuleSet" c:type="MemphisRuleSet*"/>
        </return-value>
      </constructor>
      <method name="free" c:identifier="memphis_rule_set_free" version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="173">Frees the memory of a #MemphisRuleSet.</doc>
        <source-position filename="memphis-rule-set.h" line="56"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="175">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bg_color"
              c:identifier="memphis_rule_set_get_bg_color"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="216">Assigns the background color and the transparency of the background
to r, g, b and a.</doc>
        <source-position filename="memphis-rule-set.h" line="68"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="218">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="r"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="219">red color component</doc>
            <type name="guint8" c:type="guint8*"/>
          </parameter>
          <parameter name="g"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="220">green color component</doc>
            <type name="guint8" c:type="guint8*"/>
          </parameter>
          <parameter name="b"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="221">blue color component</doc>
            <type name="guint8" c:type="guint8*"/>
          </parameter>
          <parameter name="a"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="222">transparency</doc>
            <type name="guint8" c:type="guint8*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_rule"
              c:identifier="memphis_rule_set_get_rule"
              version="0.1">
        <source-position filename="memphis-rule-set.h" line="74"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="memphis-rule-set.c"
               line="562">a #MemphisRule that has the given id string or NULL otherwise.</doc>
          <type name="Rule" c:type="MemphisRule*"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="559">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="560">an id string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_rule_ids"
              c:identifier="memphis_rule_set_get_rule_ids"
              version="0.1"
              introspectable="0">
        <source-position filename="memphis-rule-set.h" line="71"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="memphis-rule-set.c"
               line="248">a list of rule id strings.
Free the list with g_list_free when done.

These strings have the following form:
key1|key2|...|keyN:value1|value2|...|valueM

Example: "waterway:river|stream|canal"</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="246">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_from_data"
              c:identifier="memphis_rule_set_load_from_data"
              version="0.2"
              throws="1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="147">Load rules data from an XML file.</doc>
        <source-position filename="memphis-rule-set.h" line="61"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="149">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="150">a character array with rules XML data</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="151">the size of the array</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_from_file"
              c:identifier="memphis_rule_set_load_from_file"
              version="0.2"
              throws="1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="123">Load rules from an XML file.</doc>
        <source-position filename="memphis-rule-set.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="125">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="126">a path to a rules file</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_rule"
              c:identifier="memphis_rule_set_remove_rule"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="635">Removes the rule with the given id from the rules set.</doc>
        <source-position filename="memphis-rule-set.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-rule-set.c"
               line="642">true if the rule could be found and removed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="637">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="638">an id string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bg_color"
              c:identifier="memphis_rule_set_set_bg_color"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="189">Sets the background color and transparency rule.</doc>
        <source-position filename="memphis-rule-set.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="191">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="r" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="192">red color component</doc>
            <type name="guint8" c:type="guint8"/>
          </parameter>
          <parameter name="g" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="193">green color component</doc>
            <type name="guint8" c:type="guint8"/>
          </parameter>
          <parameter name="b" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="194">blue color component</doc>
            <type name="guint8" c:type="guint8"/>
          </parameter>
          <parameter name="a" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="195">transparency</doc>
            <type name="guint8" c:type="guint8"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_rule"
              c:identifier="memphis_rule_set_set_rule"
              version="0.1">
        <doc xml:space="preserve"
             filename="memphis-rule-set.c"
             line="589">Adds the given rule to the rule set.</doc>
        <source-position filename="memphis-rule-set.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="rules" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="591">a #MemphisRuleSet</doc>
            <type name="RuleSet" c:type="MemphisRuleSet*"/>
          </instance-parameter>
          <parameter name="rule" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="memphis-rule-set.c"
                 line="592">a #MemphisRule</doc>
            <type name="Rule" c:type="MemphisRule*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RuleSetClass"
            c:type="MemphisRuleSetClass"
            glib:is-gtype-struct-for="RuleSet">
      <source-position filename="memphis-rule-set.h" line="51"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="RuleType"
                 version="0.1"
                 glib:type-name="MemphisRuleType"
                 glib:get-type="memphis_rule_type_get_type"
                 c:type="MemphisRuleType">
      <doc xml:space="preserve"
           filename="memphis-rule.h"
           line="68">Defines a the data type of the rule. Only ways are supported in
Memphis 0.1.x.</doc>
      <member name="unknown"
              value="0"
              c:identifier="MEMPHIS_RULE_TYPE_UNKNOWN"
              glib:nick="unknown"
              glib:name="MEMPHIS_RULE_TYPE_UNKNOWN">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="70">unknown</doc>
      </member>
      <member name="node"
              value="1"
              c:identifier="MEMPHIS_RULE_TYPE_NODE"
              glib:nick="node"
              glib:name="MEMPHIS_RULE_TYPE_NODE">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="71">a node</doc>
      </member>
      <member name="way"
              value="2"
              c:identifier="MEMPHIS_RULE_TYPE_WAY"
              glib:nick="way"
              glib:name="MEMPHIS_RULE_TYPE_WAY">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="72">a way</doc>
      </member>
      <member name="relation"
              value="3"
              c:identifier="MEMPHIS_RULE_TYPE_RELATION"
              glib:nick="relation"
              glib:name="MEMPHIS_RULE_TYPE_RELATION">
        <doc xml:space="preserve"
             filename="memphis-rule.h"
             line="73">a realtion</doc>
      </member>
    </enumeration>
    <function name="debug"
              c:identifier="memphis_debug"
              version="0.1"
              introspectable="0">
      <doc xml:space="preserve"
           filename="memphis-debug.c"
           line="78">Prints a debug message.</doc>
      <source-position filename="memphis-debug.h" line="28"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-debug.c"
               line="80">a printf format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-debug.c"
               line="81">optional arguments</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="debug_get_print_progress"
              c:identifier="memphis_debug_get_print_progress"
              version="0.1">
      <source-position filename="memphis-debug.h" line="32"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="memphis-debug.c"
             line="48">if progress messages should be shown.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="debug_set_print_progress"
              c:identifier="memphis_debug_set_print_progress"
              version="0.1">
      <doc xml:space="preserve"
           filename="memphis-debug.c"
           line="32">Define if progress messages should be printed.</doc>
      <source-position filename="memphis-debug.h" line="31"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="show_progress" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-debug.c"
               line="34">progress</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="info"
              c:identifier="memphis_info"
              version="0.1"
              introspectable="0">
      <doc xml:space="preserve"
           filename="memphis-debug.c"
           line="57">Prints stuff.</doc>
      <source-position filename="memphis-debug.h" line="29"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-debug.c"
               line="59">a printf format string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve"
               filename="memphis-debug.c"
               line="60">optional arguments</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <docsection name="memphis">
      <doc xml:space="preserve"
           filename="memphis.h"
           line="20">Libmemphis is a generic glib/cairo based OSM renderer library.
It draws maps on arbitrary cairo surfaces.</doc>
    </docsection>
    <docsection name="memphis-data-pool">
      <doc xml:space="preserve"
           filename="memphis-data-pool.c"
           line="20">A singleton that provides a shared pool of efficient memory.
(i.e. a GStringChunk and a GTree for strings).</doc>
    </docsection>
    <docsection name="memphis-debug">
      <doc xml:space="preserve"
           filename="memphis-debug.c"
           line="20">These debug messages can be enabled with ./configure --enable-debug.</doc>
    </docsection>
    <docsection name="memphis-map">
      <doc xml:space="preserve"
           filename="memphis-map.c"
           line="20">Stores an area with OSM map data. The data can be loaded from an OSM
XML file or a character array with XML data.

Reference: http://wiki.openstreetmap.org/wiki/.osm</doc>
    </docsection>
    <docsection name="memphis-renderer">
      <doc xml:space="preserve"
           filename="memphis-renderer.c"
           line="21">The Memphis tile renderer implements the 'Slippy Map Tilename'
specification, like Mapnik and Osmarender. It supports zoom level
12 to 18, projected with the Mercator projection.

Every level has 2^(zoom level) images in x and y direction
(enumarated from 0 to 2^(zoom level)-1). Tiles without data are
rendered filled with the background color of the map.</doc>
    </docsection>
    <docsection name="memphis-rule">
      <doc xml:space="preserve"
           filename="memphis-rule.c"
           line="22">A boxed struct to describe a drawing rule for the #MemphisRuleSet.</doc>
    </docsection>
    <docsection name="memphis-rule-set">
      <doc xml:space="preserve"
           filename="memphis-rule-set.c"
           line="20">This Object defines drawing rules for a #MemphisRenderer. The rules
can be loaded from an XML file or can they be defined during
execution time.</doc>
    </docsection>
  </namespace>
</repository>
