File: SWFFont.xml

package info (click to toggle)
phpdox 0.12.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 7,672 kB
  • sloc: xml: 80,724; php: 9,167; makefile: 13
file content (49 lines) | stat: -rw-r--r-- 2,222 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="SWFFont" namespace="" name="SWFFont">
  <constructor name="__construct" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Loads a font definition">If filename is the name of an FDB file (i.e., it ends in ".fdb"), load the font definition found in said file. Otherwise, create a browser-defined font reference.</description>
      <return type="void"/>
    </docblock>
    <parameter name="filename" optional="false" byreference="false" type="string"/>
  </constructor>
  <method name="getAscent" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Returns the ascent of the font, or 0 if not available"/>
      <return type="float"/>
    </docblock>
  </method>
  <method name="getDescent" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Returns the descent of the font, or 0 if not available"/>
      <return type="float"/>
    </docblock>
  </method>
  <method name="getLeading" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Returns the leading of the font, or 0 if not available"/>
      <return type="float"/>
    </docblock>
  </method>
  <method name="getShape" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Returns the glyph shape of a char as a text string"/>
      <return type="string"/>
    </docblock>
    <parameter name="code" optional="false" byreference="false" type="int"/>
  </method>
  <method name="getUTF8Width" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Calculates the width of the given string in this font at full height"/>
      <return type="float"/>
    </docblock>
    <parameter name="string" optional="false" byreference="false" type="string"/>
  </method>
  <method name="getWidth" abstract="false" static="false" final="false">
    <docblock>
      <description compact="Returns the string's width"/>
      <return type="float"/>
    </docblock>
    <parameter name="string" optional="false" byreference="false" type="string"/>
  </method>
</class>