Branch: Tag:

1999-04-09

1999-04-09 10:20:38 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

doc update

Rev: src/modules/Image/encodings/any.c:1.6
Rev: src/modules/Image/pattern.c:1.13
Rev: src/modules/_Image_TTF/image_ttf.c:1.13

2191:   this is.</p>      <p>Methods: - <ref>decode</ref>, <ref>decode_trans</ref>, - <ref>_decode</ref></p> + <ref>decode</ref>, <ref>decode_alpha</ref>, + <ref resolved='predef::Image.ANY._decode'>_decode</ref></p>      <p/>   </text>
2200:   <p><ref resolved='predef::Image'>Image</ref></p></text></group>      </doc> + <docgroup homogen-name='_decode' homogen-type='method'> + <method name='_decode'> +  <returntype> +  <object>mapping </object></returntype> +  <arguments><argument name='data'><type><string/></type></argument> +  +  </arguments> + </method><doc> + <text> + <p>Tries heuristics to find the correct method + of decoding the data, then calls that method.</p> +  + <p>The result of _decode() is a mapping that contains + <pre> +  "type":image data type (ie, "image/jpeg" or similar) +  "image":the image object, +  "alpha":the alpha channel or 0 if N/A + </pre> + </p> + </text> + <group><note/><text> + <p>Throws upon failure.</p> + </text></group> +  + </doc> + </docgroup>   </module>   <module name='BMP'>   <doc>
4102:   </doc>   <docgroup homogen-name='create' homogen-type='method'>   <method name='create'> -  <returntype><mixed/></returntype> +  <returntype> +  <object>void </object></returntype>    <arguments><argument name='face'><type><object resolved='predef::Image.TTF.FaceInstance.create'/></type></argument>       </arguments>
9071:   <td>color(red)<br/>(same again)</td>   <td>...red channel<br/></td>   </tr></table> - <table><tr/></table></p> + </p>      <p>Use with -&gt;grey() or -&gt;color() for one-color-results.   </p>