Extra "ports" of juce-based plugins using the distrho build system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

204 lines
5.9KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  5. <head>
  6. <title>protoplug: Class juce.Font</title>
  7. <link rel="stylesheet" href="../ldoc.css" type="text/css" />
  8. </head>
  9. <body>
  10. <div id="container">
  11. <div id="product">
  12. <div id="product_logo"></div>
  13. <div id="product_name"><big><b></b></big></div>
  14. <div id="product_description"></div>
  15. </div> <!-- id="product" -->
  16. <div id="main">
  17. <!-- Menu -->
  18. <div id="navigation">
  19. <a href="http://osar.fr">
  20. <div class=osarlogo> </div>
  21. </a>
  22. <br/>
  23. <a href="http://osar.fr/protoplug">
  24. <h1>protoplug</h1>
  25. </a>
  26. <span class="proto_subtitle">Lua API reference</span>
  27. <ul>
  28. <li><a href="../index.html">Index</a></li>
  29. </ul>
  30. <h2>Contents</h2>
  31. <ul>
  32. <li><a href="#Constructors">Constructors</a></li>
  33. <li><a href="#Tables">Tables</a></li>
  34. </ul>
  35. <h2>Classes</h2>
  36. <ul class="$(kind=='Topics' and '' or 'nowrap'">
  37. <li><a href="../classes/juce.AffineTransform.html">juce.AffineTransform</a></li>
  38. <li><a href="../classes/juce.AudioFormatReader.html">juce.AudioFormatReader</a></li>
  39. <li><a href="../classes/juce.Colour.html">juce.Colour</a></li>
  40. <li><a href="../classes/juce.ColourGradient.html">juce.ColourGradient</a></li>
  41. <li><a href="../classes/juce.Component.html">juce.Component</a></li>
  42. <li><a href="../classes/juce.FillType.html">juce.FillType</a></li>
  43. <li><strong>juce.Font</strong></li>
  44. <li><a href="../classes/juce.Graphics.html">juce.Graphics</a></li>
  45. <li><a href="../classes/juce.Image.html">juce.Image</a></li>
  46. <li><a href="../classes/juce.Justification.html">juce.Justification</a></li>
  47. <li><a href="../classes/juce.LagrangeInterpolator.html">juce.LagrangeInterpolator</a></li>
  48. <li><a href="../classes/juce.Line.html">juce.Line</a></li>
  49. <li><a href="../classes/juce.Path.html">juce.Path</a></li>
  50. <li><a href="../classes/juce.Point.html">juce.Point</a></li>
  51. <li><a href="../classes/juce.RectanglePlacement.html">juce.RectanglePlacement</a></li>
  52. <li><a href="../classes/juce.Rectangle_float.html">juce.Rectangle_float</a></li>
  53. <li><a href="../classes/juce.Rectangle_int.html">juce.Rectangle_int</a></li>
  54. </ul>
  55. <h2>Modules</h2>
  56. <ul class="$(kind=='Topics' and '' or 'nowrap'">
  57. <li><a href="../modules/plugin.html">plugin</a></li>
  58. <li><a href="../modules/script.html">script</a></li>
  59. <li><a href="../modules/midi.html">midi</a></li>
  60. <li><a href="../modules/gui.html">gui</a></li>
  61. <li><a href="../modules/polyGen.html">polyGen</a></li>
  62. <li><a href="../modules/stereoFx.html">stereoFx</a></li>
  63. </ul>
  64. <h2>Examples</h2>
  65. <ul class="$(kind=='Topics' and '' or 'nowrap'">
  66. <li><a href="../examples/classic-filter.lua.html">classic-filter.lua</a></li>
  67. <li><a href="../examples/sine-organ.lua.html">sine-organ.lua</a></li>
  68. <li><a href="../examples/midi-chordify.lua.html">midi-chordify.lua</a></li>
  69. <li><a href="../examples/sinemouse-demo.lua.html">sinemouse-demo.lua</a></li>
  70. <li><a href="../examples/soundfile-test.lua.html">soundfile-test.lua</a></li>
  71. </ul>
  72. </div>
  73. <div id="content">
  74. <h1>Class <code>juce.Font</code></h1>
  75. <p>Font.</p>
  76. <p> Is a pointer to a <a href="http://www.juce.com/api/classFont.html">JUCE Font</a>.
  77. Can be used by <a href="../classes/juce.Graphics.html#">juce.Graphics</a> for text operations.</p>
  78. <h2><a href="#Constructors">Constructors</a></h2>
  79. <table class="function_list">
  80. <tr>
  81. <td class="name" nowrap><a href="#juce.Font.Font"><span class="proto_prefix">juce</span>.Font (typefaceName, fontHeight[, styleFlags=0[, hinted=false]])</a></td>
  82. <td class="summary">Constuctor.</td>
  83. </tr>
  84. </table>
  85. <h2><a href="#Tables">Tables</a></h2>
  86. <table class="function_list">
  87. <tr>
  88. <td class="name" nowrap><a href="#juce.Font.styles"><span class="proto_prefix">juce.Font</span>.styles</a></td>
  89. <td class="summary">Font styles.</td>
  90. </tr>
  91. </table>
  92. <br/>
  93. <br/>
  94. <h2><a name="Constructors"></a>Constructors</h2>
  95. <dl class="function">
  96. <dt>
  97. <a name = "juce.Font.Font"></a>
  98. <strong><span class="proto_prefix">juce</span>.Font (typefaceName, fontHeight[, styleFlags=0[, hinted=false]])</strong>
  99. </dt>
  100. <dd>
  101. Constuctor.
  102. Caveat : on OSX and Linux, hinting only works for protoplug's
  103. built-in hinted fonts (<code>DejaVu Sans Mono</code> and <code>Source Code Pro</code>). On
  104. Windows it's available for every font. Cross-platform hinting is on the be
  105. todo list.
  106. </ul>
  107. <h3>Parameters:</h3>
  108. <ul>
  109. <li><span class="parameter">typefaceName</span>
  110. <span class="types"><a class="type" href="http://www.lua.org/manual/5.1/manual.html#5.4">string</a></span>
  111. </li>
  112. <li><span class="parameter">fontHeight</span>
  113. <span class="types"><span class="type">number</span></span>
  114. </li>
  115. <li><span class="parameter">styleFlags</span>
  116. any combination of <a href="../classes/juce.Font.html#juce.Font.styles">styles</a>
  117. (<em>default</em> 0)
  118. </li>
  119. <li><span class="parameter">hinted</span>
  120. <span class="types"><span class="type">bool</span></span>
  121. (<em>default</em> false)
  122. </li>
  123. </ul>
  124. </dd>
  125. </dl>
  126. <h2><a name="Tables"></a>Tables</h2>
  127. <dl class="function">
  128. <dt>
  129. <a name = "juce.Font.styles"></a>
  130. <strong><span class="proto_prefix">juce.Font</span>.styles</strong>
  131. </dt>
  132. <dd>
  133. Font styles.
  134. </ul>
  135. <h3>Fields:</h3>
  136. <ul>
  137. <li><span class="parameter">plain</span>
  138. <code>0</code>
  139. </li>
  140. <li><span class="parameter">bold</span>
  141. <code>1</code>
  142. </li>
  143. <li><span class="parameter">italic</span>
  144. <code>2</code>
  145. </li>
  146. <li><span class="parameter">underlined</span>
  147. <code>4</code>
  148. </li>
  149. </ul>
  150. </dd>
  151. </dl>
  152. </div> <!-- id="content" -->
  153. </div> <!-- id="main" -->
  154. <div id="about">
  155. <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.2</a></i>
  156. </div> <!-- id="about" -->
  157. </div> <!-- id="container" -->
  158. </body>
  159. </html>