fxruby 1.6.42 → 1.6.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/.yardopts +1 -1
  4. data/Gemfile +1 -2
  5. data/History.md +11 -0
  6. data/README.rdoc +4 -4
  7. data/Rakefile +10 -0
  8. data/appveyor.yml +4 -0
  9. data/docs/Fox.html +11184 -0
  10. data/docs/Fox/Canvas.html +141 -0
  11. data/docs/Fox/Canvas/CanvasError.html +124 -0
  12. data/docs/Fox/Canvas/CircleShape.html +477 -0
  13. data/docs/Fox/Canvas/ImageShape.html +477 -0
  14. data/docs/Fox/Canvas/LineShape.html +1005 -0
  15. data/docs/Fox/Canvas/PolygonShape.html +145 -0
  16. data/docs/Fox/Canvas/RectangleShape.html +439 -0
  17. data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
  18. data/docs/Fox/Canvas/Shape.html +1955 -0
  19. data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
  20. data/docs/Fox/Canvas/ShapeGroup.html +527 -0
  21. data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
  22. data/docs/Fox/Canvas/TextShape.html +609 -0
  23. data/docs/Fox/FTNonModal.html +550 -0
  24. data/docs/Fox/FX4Splitter.html +1336 -0
  25. data/docs/Fox/FX7Segment.html +1010 -0
  26. data/docs/Fox/FXAccelTable.html +715 -0
  27. data/docs/Fox/FXApp.html +7998 -0
  28. data/docs/Fox/FXArc.html +562 -0
  29. data/docs/Fox/FXArrowButton.html +865 -0
  30. data/docs/Fox/FXBMPIcon.html +450 -0
  31. data/docs/Fox/FXBMPImage.html +434 -0
  32. data/docs/Fox/FXBitmap.html +1362 -0
  33. data/docs/Fox/FXBitmapFrame.html +595 -0
  34. data/docs/Fox/FXBitmapView.html +1451 -0
  35. data/docs/Fox/FXButton.html +534 -0
  36. data/docs/Fox/FXCURCursor.html +261 -0
  37. data/docs/Fox/FXCalendar.html +880 -0
  38. data/docs/Fox/FXCanvas.html +311 -0
  39. data/docs/Fox/FXCheckButton.html +949 -0
  40. data/docs/Fox/FXChoiceBox.html +472 -0
  41. data/docs/Fox/FXColor.html +1519 -0
  42. data/docs/Fox/FXColorBar.html +759 -0
  43. data/docs/Fox/FXColorDialog.html +591 -0
  44. data/docs/Fox/FXColorItem.html +323 -0
  45. data/docs/Fox/FXColorList.html +712 -0
  46. data/docs/Fox/FXColorRing.html +817 -0
  47. data/docs/Fox/FXColorSelector.html +796 -0
  48. data/docs/Fox/FXColorWell.html +850 -0
  49. data/docs/Fox/FXColorWheel.html +770 -0
  50. data/docs/Fox/FXComboBox.html +2939 -0
  51. data/docs/Fox/FXComboTableItem.html +544 -0
  52. data/docs/Fox/FXCommand.html +526 -0
  53. data/docs/Fox/FXComposite.html +433 -0
  54. data/docs/Fox/FXCursor.html +779 -0
  55. data/docs/Fox/FXDC.html +5231 -0
  56. data/docs/Fox/FXDCPrint.html +696 -0
  57. data/docs/Fox/FXDCWindow.html +358 -0
  58. data/docs/Fox/FXDataTarget.html +573 -0
  59. data/docs/Fox/FXDebugTarget.html +305 -0
  60. data/docs/Fox/FXDelegator.html +305 -0
  61. data/docs/Fox/FXDial.html +1133 -0
  62. data/docs/Fox/FXDialogBox.html +413 -0
  63. data/docs/Fox/FXDict.html +1063 -0
  64. data/docs/Fox/FXDirBox.html +752 -0
  65. data/docs/Fox/FXDirDialog.html +914 -0
  66. data/docs/Fox/FXDirItem.html +989 -0
  67. data/docs/Fox/FXDirList.html +1554 -0
  68. data/docs/Fox/FXDirSelector.html +995 -0
  69. data/docs/Fox/FXDockBar.html +1451 -0
  70. data/docs/Fox/FXDockHandler.html +468 -0
  71. data/docs/Fox/FXDockSite.html +678 -0
  72. data/docs/Fox/FXDockTitle.html +606 -0
  73. data/docs/Fox/FXDocument.html +536 -0
  74. data/docs/Fox/FXDragCorner.html +440 -0
  75. data/docs/Fox/FXDrawable.html +478 -0
  76. data/docs/Fox/FXDriveBox.html +746 -0
  77. data/docs/Fox/FXEvent.html +1736 -0
  78. data/docs/Fox/FXExtentd.html +1374 -0
  79. data/docs/Fox/FXExtentf.html +1374 -0
  80. data/docs/Fox/FXFileAssoc.html +850 -0
  81. data/docs/Fox/FXFileDialog.html +2688 -0
  82. data/docs/Fox/FXFileDict.html +1058 -0
  83. data/docs/Fox/FXFileItem.html +1141 -0
  84. data/docs/Fox/FXFileList.html +2259 -0
  85. data/docs/Fox/FXFileSelector.html +2529 -0
  86. data/docs/Fox/FXFileStream.html +503 -0
  87. data/docs/Fox/FXFoldingItem.html +2822 -0
  88. data/docs/Fox/FXFoldingList.html +5189 -0
  89. data/docs/Fox/FXFont.html +2998 -0
  90. data/docs/Fox/FXFontDesc.html +710 -0
  91. data/docs/Fox/FXFontDialog.html +420 -0
  92. data/docs/Fox/FXFontSelector.html +576 -0
  93. data/docs/Fox/FXFrame.html +1012 -0
  94. data/docs/Fox/FXGIFCursor.html +337 -0
  95. data/docs/Fox/FXGIFIcon.html +450 -0
  96. data/docs/Fox/FXGIFImage.html +434 -0
  97. data/docs/Fox/FXGLCanvas.html +700 -0
  98. data/docs/Fox/FXGLCone.html +785 -0
  99. data/docs/Fox/FXGLContext.html +649 -0
  100. data/docs/Fox/FXGLCube.html +703 -0
  101. data/docs/Fox/FXGLCylinder.html +791 -0
  102. data/docs/Fox/FXGLGroup.html +1385 -0
  103. data/docs/Fox/FXGLLine.html +653 -0
  104. data/docs/Fox/FXGLObject.html +759 -0
  105. data/docs/Fox/FXGLPoint.html +561 -0
  106. data/docs/Fox/FXGLShape.html +714 -0
  107. data/docs/Fox/FXGLSphere.html +626 -0
  108. data/docs/Fox/FXGLViewer.html +3506 -0
  109. data/docs/Fox/FXGLVisual.html +2147 -0
  110. data/docs/Fox/FXGradient.html +562 -0
  111. data/docs/Fox/FXGradientBar.html +2479 -0
  112. data/docs/Fox/FXGroupBox.html +688 -0
  113. data/docs/Fox/FXHeader.html +3040 -0
  114. data/docs/Fox/FXHeaderItem.html +1353 -0
  115. data/docs/Fox/FXHiliteStyle.html +804 -0
  116. data/docs/Fox/FXHorizontalFrame.html +359 -0
  117. data/docs/Fox/FXHorizontalSeparator.html +349 -0
  118. data/docs/Fox/FXICOIcon.html +450 -0
  119. data/docs/Fox/FXICOImage.html +434 -0
  120. data/docs/Fox/FXIcon.html +384 -0
  121. data/docs/Fox/FXIconDict.html +752 -0
  122. data/docs/Fox/FXIconItem.html +1518 -0
  123. data/docs/Fox/FXIconList.html +4676 -0
  124. data/docs/Fox/FXIconSource.html +963 -0
  125. data/docs/Fox/FXId.html +712 -0
  126. data/docs/Fox/FXImage.html +2328 -0
  127. data/docs/Fox/FXImageFrame.html +489 -0
  128. data/docs/Fox/FXImageView.html +504 -0
  129. data/docs/Fox/FXInputDialog.html +894 -0
  130. data/docs/Fox/FXIrb.html +942 -0
  131. data/docs/Fox/FXJPGIcon.html +607 -0
  132. data/docs/Fox/FXJPGImage.html +591 -0
  133. data/docs/Fox/FXKnob.html +1048 -0
  134. data/docs/Fox/FXLabel.html +1013 -0
  135. data/docs/Fox/FXLight.html +920 -0
  136. data/docs/Fox/FXList.html +3717 -0
  137. data/docs/Fox/FXListBox.html +2518 -0
  138. data/docs/Fox/FXListItem.html +1459 -0
  139. data/docs/Fox/FXMDIChild.html +2175 -0
  140. data/docs/Fox/FXMDIClient.html +781 -0
  141. data/docs/Fox/FXMDIDeleteButton.html +334 -0
  142. data/docs/Fox/FXMDIMaximizeButton.html +334 -0
  143. data/docs/Fox/FXMDIMenu.html +335 -0
  144. data/docs/Fox/FXMDIMinimizeButton.html +334 -0
  145. data/docs/Fox/FXMDIRestoreButton.html +334 -0
  146. data/docs/Fox/FXMDIWindowButton.html +334 -0
  147. data/docs/Fox/FXMainWindow.html +337 -0
  148. data/docs/Fox/FXMaterial.html +570 -0
  149. data/docs/Fox/FXMatrix.html +734 -0
  150. data/docs/Fox/FXMemoryBuffer.html +472 -0
  151. data/docs/Fox/FXMemoryStream.html +632 -0
  152. data/docs/Fox/FXMenuBar.html +347 -0
  153. data/docs/Fox/FXMenuButton.html +829 -0
  154. data/docs/Fox/FXMenuCaption.html +1080 -0
  155. data/docs/Fox/FXMenuCascade.html +388 -0
  156. data/docs/Fox/FXMenuCheck.html +721 -0
  157. data/docs/Fox/FXMenuCommand.html +400 -0
  158. data/docs/Fox/FXMenuPane.html +333 -0
  159. data/docs/Fox/FXMenuRadio.html +721 -0
  160. data/docs/Fox/FXMenuSeparator.html +440 -0
  161. data/docs/Fox/FXMenuTitle.html +405 -0
  162. data/docs/Fox/FXMessageBox.html +658 -0
  163. data/docs/Fox/FXObject.html +545 -0
  164. data/docs/Fox/FXOption.html +491 -0
  165. data/docs/Fox/FXOptionMenu.html +885 -0
  166. data/docs/Fox/FXPCXIcon.html +450 -0
  167. data/docs/Fox/FXPCXImage.html +434 -0
  168. data/docs/Fox/FXPNGIcon.html +524 -0
  169. data/docs/Fox/FXPNGImage.html +508 -0
  170. data/docs/Fox/FXPPMIcon.html +450 -0
  171. data/docs/Fox/FXPPMImage.html +373 -0
  172. data/docs/Fox/FXPSBounds.html +500 -0
  173. data/docs/Fox/FXPacker.html +1229 -0
  174. data/docs/Fox/FXPicker.html +345 -0
  175. data/docs/Fox/FXPopup.html +1099 -0
  176. data/docs/Fox/FXPrintDialog.html +485 -0
  177. data/docs/Fox/FXPrinter.html +1330 -0
  178. data/docs/Fox/FXProgressBar.html +1150 -0
  179. data/docs/Fox/FXProgressDialog.html +715 -0
  180. data/docs/Fox/FXPseudoKeyboard.html +428 -0
  181. data/docs/Fox/FXPseudoMouse.html +800 -0
  182. data/docs/Fox/FXPseudoTarget.html +472 -0
  183. data/docs/Fox/FXQuatd.html +1377 -0
  184. data/docs/Fox/FXQuatf.html +1392 -0
  185. data/docs/Fox/FXRGBIcon.html +450 -0
  186. data/docs/Fox/FXRGBImage.html +434 -0
  187. data/docs/Fox/FXRadioButton.html +885 -0
  188. data/docs/Fox/FXRanged.html +1522 -0
  189. data/docs/Fox/FXRangef.html +1522 -0
  190. data/docs/Fox/FXRealSlider.html +1187 -0
  191. data/docs/Fox/FXRealSpinner.html +2175 -0
  192. data/docs/Fox/FXRecentFiles.html +841 -0
  193. data/docs/Fox/FXRectangle.html +802 -0
  194. data/docs/Fox/FXRegion.html +841 -0
  195. data/docs/Fox/FXRegistry.html +682 -0
  196. data/docs/Fox/FXReplaceDialog.html +648 -0
  197. data/docs/Fox/FXRootWindow.html +312 -0
  198. data/docs/Fox/FXRuler.html +2000 -0
  199. data/docs/Fox/FXRulerView.html +3997 -0
  200. data/docs/Fox/FXScintilla.html +49117 -0
  201. data/docs/Fox/FXScrollArea.html +1363 -0
  202. data/docs/Fox/FXScrollBar.html +1019 -0
  203. data/docs/Fox/FXScrollCorner.html +290 -0
  204. data/docs/Fox/FXScrollPane.html +499 -0
  205. data/docs/Fox/FXScrollWindow.html +409 -0
  206. data/docs/Fox/FXSearchDialog.html +382 -0
  207. data/docs/Fox/FXSegment.html +422 -0
  208. data/docs/Fox/FXSeparator.html +402 -0
  209. data/docs/Fox/FXSettings.html +1861 -0
  210. data/docs/Fox/FXShell.html +233 -0
  211. data/docs/Fox/FXShutter.html +472 -0
  212. data/docs/Fox/FXShutterItem.html +669 -0
  213. data/docs/Fox/FXSize.html +592 -0
  214. data/docs/Fox/FXSlider.html +1129 -0
  215. data/docs/Fox/FXSphered.html +906 -0
  216. data/docs/Fox/FXSpheref.html +906 -0
  217. data/docs/Fox/FXSpinner.html +2102 -0
  218. data/docs/Fox/FXSplashScreen.html +497 -0
  219. data/docs/Fox/FXSplashWindow.html +494 -0
  220. data/docs/Fox/FXSplitter.html +643 -0
  221. data/docs/Fox/FXSpring.html +517 -0
  222. data/docs/Fox/FXStatusBar.html +593 -0
  223. data/docs/Fox/FXStatusLine.html +754 -0
  224. data/docs/Fox/FXStream.html +1372 -0
  225. data/docs/Fox/FXStreamAllocError.html +148 -0
  226. data/docs/Fox/FXStreamEndError.html +148 -0
  227. data/docs/Fox/FXStreamError.html +259 -0
  228. data/docs/Fox/FXStreamFailureError.html +148 -0
  229. data/docs/Fox/FXStreamFormatError.html +148 -0
  230. data/docs/Fox/FXStreamFullError.html +148 -0
  231. data/docs/Fox/FXStreamNoReadError.html +148 -0
  232. data/docs/Fox/FXStreamNoWriteError.html +148 -0
  233. data/docs/Fox/FXStreamUnknownError.html +148 -0
  234. data/docs/Fox/FXStringDict.html +552 -0
  235. data/docs/Fox/FXSwitcher.html +619 -0
  236. data/docs/Fox/FXTGAIcon.html +450 -0
  237. data/docs/Fox/FXTGAImage.html +434 -0
  238. data/docs/Fox/FXTIFIcon.html +604 -0
  239. data/docs/Fox/FXTIFImage.html +588 -0
  240. data/docs/Fox/FXTabBar.html +644 -0
  241. data/docs/Fox/FXTabBook.html +373 -0
  242. data/docs/Fox/FXTabItem.html +478 -0
  243. data/docs/Fox/FXTable.html +10107 -0
  244. data/docs/Fox/FXTableItem.html +2195 -0
  245. data/docs/Fox/FXTablePos.html +360 -0
  246. data/docs/Fox/FXTableRange.html +360 -0
  247. data/docs/Fox/FXText.html +6870 -0
  248. data/docs/Fox/FXTextChange.html +492 -0
  249. data/docs/Fox/FXTextField.html +2016 -0
  250. data/docs/Fox/FXToggleButton.html +844 -0
  251. data/docs/Fox/FXToolBar.html +452 -0
  252. data/docs/Fox/FXToolBarGrip.html +584 -0
  253. data/docs/Fox/FXToolBarShell.html +788 -0
  254. data/docs/Fox/FXToolBarTab.html +729 -0
  255. data/docs/Fox/FXToolTip.html +761 -0
  256. data/docs/Fox/FXTopWindow.html +1716 -0
  257. data/docs/Fox/FXTranslator.html +481 -0
  258. data/docs/Fox/FXTreeItem.html +2813 -0
  259. data/docs/Fox/FXTreeList.html +5095 -0
  260. data/docs/Fox/FXTreeListBox.html +3080 -0
  261. data/docs/Fox/FXTriStateButton.html +681 -0
  262. data/docs/Fox/FXUndoList.html +2560 -0
  263. data/docs/Fox/FXVec2d.html +1450 -0
  264. data/docs/Fox/FXVec2f.html +1442 -0
  265. data/docs/Fox/FXVec3d.html +1649 -0
  266. data/docs/Fox/FXVec3f.html +1649 -0
  267. data/docs/Fox/FXVec4d.html +1858 -0
  268. data/docs/Fox/FXVec4f.html +1858 -0
  269. data/docs/Fox/FXVerticalFrame.html +359 -0
  270. data/docs/Fox/FXVerticalSeparator.html +349 -0
  271. data/docs/Fox/FXViewport.html +780 -0
  272. data/docs/Fox/FXVisual.html +1023 -0
  273. data/docs/Fox/FXWindow.html +9948 -0
  274. data/docs/Fox/FXWizard.html +1052 -0
  275. data/docs/Fox/FXXBMIcon.html +453 -0
  276. data/docs/Fox/FXXBMImage.html +437 -0
  277. data/docs/Fox/FXXPMIcon.html +450 -0
  278. data/docs/Fox/FXXPMImage.html +434 -0
  279. data/docs/Fox/NotifyHeader.html +286 -0
  280. data/docs/Fox/SCNotification.html +1438 -0
  281. data/docs/Fox/TextRange.html +281 -0
  282. data/docs/IRB.html +204 -0
  283. data/docs/Responder.html +693 -0
  284. data/docs/Responder2.html +225 -0
  285. data/docs/_index.html +2101 -0
  286. data/docs/class_list.html +51 -0
  287. data/docs/css/common.css +1 -0
  288. data/docs/css/full_list.css +58 -0
  289. data/docs/css/style.css +496 -0
  290. data/docs/file.History.html +869 -0
  291. data/docs/file.README.html +104 -0
  292. data/docs/file_list.html +66 -0
  293. data/docs/frames.html +17 -0
  294. data/docs/index.html +614 -0
  295. data/docs/js/app.js +314 -0
  296. data/docs/js/full_list.js +216 -0
  297. data/docs/js/jquery.js +4 -0
  298. data/docs/method_list.html +31043 -0
  299. data/docs/top-level-namespace.html +214 -0
  300. data/examples/canvasdemo.rb +5 -1
  301. data/examples/gltest.rb +162 -106
  302. data/examples/glviewer.rb +12 -8
  303. data/ext/fox16_c/extconf.rb +1 -1
  304. data/fxruby.gemspec +1 -1
  305. data/lib/fox16/canvas.rb +76 -45
  306. data/lib/fox16/glgroup.rb +5 -5
  307. data/lib/fox16/glshapes.rb +111 -99
  308. data/lib/fox16/version.rb +1 -1
  309. metadata +298 -4
@@ -0,0 +1,2998 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Fox::FXFont
8
+
9
+ &mdash; FXRuby API Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Fox::FXFont";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (F)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
41
+ &raquo;
42
+ <span class="title">FXFont</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Fox::FXFont
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></li>
80
+
81
+ <li class="next">Fox::FXFont</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>rdoc-sources/FXFont.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>Font class</p>
110
+
111
+ <h3 id="label-Font+pitch+hints">Font pitch hints</h3>
112
+ <dl class="rdoc-list note-list"><dt><code>Fixed</code>
113
+ <dd>
114
+ <p>Fixed pitch, mono-spaced</p>
115
+ </dd><dt><code>Variable</code>
116
+ <dd>
117
+ <p>Variable pitch, proportional spacing</p>
118
+ </dd></dl>
119
+
120
+ <h3 id="label-Font+style+hints">Font style hints</h3>
121
+ <dl class="rdoc-list note-list"><dt><code>Decorative</code>
122
+ <dd>
123
+ <p>Fancy fonts</p>
124
+ </dd><dt><code>Modern</code>
125
+ <dd>
126
+ <p>Monospace typewriter font</p>
127
+ </dd><dt><code>Roman</code>
128
+ <dd>
129
+ <p>Variable width times-like font, serif</p>
130
+ </dd><dt><code>Script</code>
131
+ <dd>
132
+ <p>Script or cursive</p>
133
+ </dd><dt><code>Swiss</code>
134
+ <dd>
135
+ <p>Helvetica/swiss type font, sans-serif</p>
136
+ </dd><dt><code>System</code>
137
+ <dd>
138
+ <p>System font</p>
139
+ </dd><dt><code>X11</code>
140
+ <dd>
141
+ <p>Raw X11 font string</p>
142
+ </dd><dt><code>Scalable</code>
143
+ <dd>
144
+ <p>Scalable fonts</p>
145
+ </dd><dt><code>Polymorphic</code>
146
+ <dd>
147
+ <p>Polymorphic fonts, e.g. parametric weight, slant, etc.</p>
148
+ </dd><dt><code>Rotatable</code>
149
+ <dd>
150
+ <p>Rotatable fonts</p>
151
+ </dd></dl>
152
+
153
+ <h3 id="label-Font+slant+options">Font slant options</h3>
154
+ <dl class="rdoc-list note-list"><dt><code>ReverseOblique</code>
155
+ <dd>
156
+ <p>Reversed oblique</p>
157
+ </dd><dt><code>ReverseItalic</code>
158
+ <dd>
159
+ <p>Reversed italic</p>
160
+ </dd><dt><code>Straight</code>
161
+ <dd>
162
+ <p>Straight, not slanted</p>
163
+ </dd><dt><code>Italic</code>
164
+ <dd>
165
+ <p>Italics</p>
166
+ </dd><dt><code>Oblique</code>
167
+ <dd>
168
+ <p>Oblique slant</p>
169
+ </dd></dl>
170
+
171
+ <h3 id="label-Font+weight+options">Font weight options</h3>
172
+ <dl class="rdoc-list note-list"><dt><code>Thin</code>
173
+ <dd>
174
+ <p>Thin</p>
175
+ </dd><dt><code>ExtraLight</code>
176
+ <dd>
177
+ <p>Extra light</p>
178
+ </dd><dt><code>Light</code>
179
+ <dd>
180
+ <p>Light</p>
181
+ </dd><dt><code>Normal</code>
182
+ <dd>
183
+ <p>Normal or regular weight</p>
184
+ </dd><dt><code>Medium</code>
185
+ <dd>
186
+ <p>Medium bold face</p>
187
+ </dd><dt><code>DemiBold</code>
188
+ <dd>
189
+ <p>Demi bold face</p>
190
+ </dd><dt><code>Bold</code>
191
+ <dd>
192
+ <p>Bold face</p>
193
+ </dd><dt><code>ExtraBold</code>
194
+ <dd>
195
+ <p>Extra</p>
196
+ </dd><dt><code>Black</code>
197
+ <dd>
198
+ <p>Black</p>
199
+ </dd></dl>
200
+
201
+ <h3 id="label-Condensed+or+expanded+options">Condensed or expanded options</h3>
202
+ <dl class="rdoc-list note-list"><dt><code>UltraCondensed</code>
203
+ <dd>
204
+ <p>Ultra condensed printing</p>
205
+ </dd><dt><code>ExtraCondensed</code>
206
+ <dd>
207
+ <p>Extra condensed</p>
208
+ </dd><dt><code>Condensed</code>
209
+ <dd>
210
+ <p>Condensed</p>
211
+ </dd><dt><code>SemiCondensed</code>
212
+ <dd>
213
+ <p>Semi-condensed</p>
214
+ </dd><dt><code>NonExpanded</code>
215
+ <dd>
216
+ <p>Regular printing</p>
217
+ </dd><dt><code>SemiExpanded</code>
218
+ <dd>
219
+ <p>Semi expanded</p>
220
+ </dd></dl>
221
+
222
+ <p><code>Expanded</code>:; Expanded</p>
223
+ <dl class="rdoc-list note-list"><dt><code>ExtraExpanded</code>
224
+ <dd>
225
+ <p>Extra expanded</p>
226
+ </dd><dt><code>UltraExpanded</code>
227
+ <dd>
228
+ <p>Ultra expanded</p>
229
+ </dd></dl>
230
+
231
+ <h3 id="label-Font+character+set+encoding">Font character set encoding</h3>
232
+ <dl class="rdoc-list note-list"><dt><code>FONTENCODING_DEFAULT</code>
233
+ <dd>
234
+ <p>Don&#39;t care character encoding</p>
235
+ </dd><dt><code>FONTENCODING_ISO_8859_1</code>
236
+ <dd>
237
+ <p>West European (Latin1)</p>
238
+ </dd><dt><code>FONTENCODING_ISO_8859_2</code>
239
+ <dd>
240
+ <p>Central and East European (Latin2)</p>
241
+ </dd><dt><code>FONTENCODING_ISO_8859_3</code>
242
+ <dd>
243
+ <p>Esperanto (Latin3)</p>
244
+ </dd><dt><code>FONTENCODING_ISO_8859_4</code>
245
+ <dd>
246
+ <p>ISO-8859-4 character encoding</p>
247
+ </dd><dt><code>FONTENCODING_ISO_8859_5</code>
248
+ <dd>
249
+ <p>Cyrillic (almost obsolete)</p>
250
+ </dd><dt><code>FONTENCODING_ISO_8859_6</code>
251
+ <dd>
252
+ <p>Arabic</p>
253
+ </dd><dt><code>FONTENCODING_ISO_8859_7</code>
254
+ <dd>
255
+ <p>Greek</p>
256
+ </dd><dt><code>FONTENCODING_ISO_8859_8</code>
257
+ <dd>
258
+ <p>Hebrew</p>
259
+ </dd><dt><code>FONTENCODING_ISO_8859_9</code>
260
+ <dd>
261
+ <p>Turkish (Latin5)</p>
262
+ </dd><dt><code>FONTENCODING_ISO_8859_10</code>
263
+ <dd>
264
+ <p>ISO-8859-10 character encoding</p>
265
+ </dd><dt><code>FONTENCODING_ISO_8859_11</code>
266
+ <dd>
267
+ <p>Thai</p>
268
+ </dd><dt><code>FONTENCODING_ISO_8859_13</code>
269
+ <dd>
270
+ <p>Baltic</p>
271
+ </dd><dt><code>FONTENCODING_ISO_8859_14</code>
272
+ <dd>
273
+ <p>ISO-8859-14 character encoding</p>
274
+ </dd><dt><code>FONTENCODING_ISO_8859_15</code>
275
+ <dd>
276
+ <p>ISO-8859-15 character encoding</p>
277
+ </dd><dt><code>FONTENCODING_ISO_8859_16</code>
278
+ <dd>
279
+ <p>ISO-8859-16 character encoding</p>
280
+ </dd><dt><code>FONTENCODING_KOI8</code>
281
+ <dd>
282
+ <p>KOI-8 character encoding</p>
283
+ </dd><dt><code>FONTENCODING_KOI8_R</code>
284
+ <dd>
285
+ <p>Russian</p>
286
+ </dd><dt><code>FONTENCODING_KOI8_U</code>
287
+ <dd>
288
+ <p>Ukrainian</p>
289
+ </dd><dt><code>FONTENCODING_KOI8_UNIFIED</code>
290
+ <dd>
291
+ <p>x</p>
292
+ </dd><dt><code>FONTENCODING_CP437</code>
293
+ <dd>
294
+ <p>IBM-PC code page</p>
295
+ </dd><dt><code>FONTENCODING_CP850</code>
296
+ <dd>
297
+ <p>IBM-PC Multilingual</p>
298
+ </dd><dt><code>FONTENCODING_CP851</code>
299
+ <dd>
300
+ <p>IBM-PC Greek</p>
301
+ </dd><dt><code>FONTENCODING_CP852</code>
302
+ <dd>
303
+ <p>IBM-PC Latin2</p>
304
+ </dd><dt><code>FONTENCODING_CP855</code>
305
+ <dd>
306
+ <p>IBM-PC Cyrillic</p>
307
+ </dd><dt><code>FONTENCODING_CP856</code>
308
+ <dd>
309
+ <p>IBM-PC Hebrew</p>
310
+ </dd><dt><code>FONTENCODING_CP857</code>
311
+ <dd>
312
+ <p>IBM-PC Turkish</p>
313
+ </dd><dt><code>FONTENCODING_CP860</code>
314
+ <dd>
315
+ <p>IBM-PC Portugese</p>
316
+ </dd><dt><code>FONTENCODING_CP861</code>
317
+ <dd>
318
+ <p>IBM-PC Iceland</p>
319
+ </dd><dt><code>FONTENCODING_CP862</code>
320
+ <dd>
321
+ <p>IBM-PC Israel</p>
322
+ </dd><dt><code>FONTENCODING_CP863</code>
323
+ <dd>
324
+ <p>IBM-PC Canadian/French</p>
325
+ </dd><dt><code>FONTENCODING_CP864</code>
326
+ <dd>
327
+ <p>IBM-PC Arabic</p>
328
+ </dd><dt><code>FONTENCODING_CP865</code>
329
+ <dd>
330
+ <p>IBM-PC Nordic</p>
331
+ </dd><dt><code>FONTENCODING_CP866</code>
332
+ <dd>
333
+ <p>IBM-PC Cyrillic #2</p>
334
+ </dd><dt><code>FONTENCODING_CP869</code>
335
+ <dd>
336
+ <p>IBM-PC Greek #2</p>
337
+ </dd><dt><code>FONTENCODING_CP870</code>
338
+ <dd>
339
+ <p>Latin-2 Multilingual</p>
340
+ </dd><dt><code>FONTENCODING_CP1250</code>
341
+ <dd>
342
+ <p>Windows Central European</p>
343
+ </dd><dt><code>FONTENCODING_CP1251</code>
344
+ <dd>
345
+ <p>Windows Russian</p>
346
+ </dd><dt><code>FONTENCODING_CP1252</code>
347
+ <dd>
348
+ <p>Windows Latin1</p>
349
+ </dd><dt><code>FONTENCODING_CP1253</code>
350
+ <dd>
351
+ <p>Windows Greek</p>
352
+ </dd><dt><code>FONTENCODING_CP1254</code>
353
+ <dd>
354
+ <p>Windows Turkish</p>
355
+ </dd><dt><code>FONTENCODING_CP1255</code>
356
+ <dd>
357
+ <p>Windows Hebrew</p>
358
+ </dd><dt><code>FONTENCODING_CP1256</code>
359
+ <dd>
360
+ <p>Windows Arabic</p>
361
+ </dd><dt><code>FONTENCODING_CP1257</code>
362
+ <dd>
363
+ <p>Windows Baltic</p>
364
+ </dd><dt><code>FONTENCODING_CP1258</code>
365
+ <dd>
366
+ <p>Windows Vietnam</p>
367
+ </dd><dt><code>FONTENCODING_CP874</code>
368
+ <dd>
369
+ <p>Windows Thai</p>
370
+ </dd><dt><code>FONTENCODING_UNICODE</code>
371
+ <dd>
372
+ <p>Unicode</p>
373
+ </dd><dt><code>FONTENCODING_LATIN1</code>
374
+ <dd>
375
+ <p>same as <code>FONTENCODING_ISO_8859_1</code>, Latin 1 (West European)</p>
376
+ </dd><dt><code>FONTENCODING_LATIN2</code>
377
+ <dd>
378
+ <p>same as <code>FONTENCODING_ISO_8859_2</code>, Latin 2 (East European)</p>
379
+ </dd><dt><code>FONTENCODING_LATIN3</code>
380
+ <dd>
381
+ <p>same as <code>FONTENCODING_ISO_8859_3</code>, Latin 3 (South European)</p>
382
+ </dd><dt><code>FONTENCODING_LATIN4</code>
383
+ <dd>
384
+ <p>same as <code>FONTENCODING_ISO_8859_4</code>, Latin 4 (North European)</p>
385
+ </dd><dt><code>FONTENCODING_LATIN5</code>
386
+ <dd>
387
+ <p>same as <code>FONTENCODING_ISO_8859_9</code>, Latin 5 (Turkish)</p>
388
+ </dd><dt><code>FONTENCODING_LATIN6</code>
389
+ <dd>
390
+ <p>same as <code>FONTENCODING_ISO_8859_10</code>, Latin 6 (Nordic)</p>
391
+ </dd><dt><code>FONTENCODING_LATIN7</code>
392
+ <dd>
393
+ <p>same as <code>FONTENCODING_ISO_8859_13</code>, Latin 7 (Baltic Rim)</p>
394
+ </dd><dt><code>FONTENCODING_LATIN8</code>
395
+ <dd>
396
+ <p>same as <code>FONTENCODING_ISO_8859_14</code>, Latin 8 (Celtic)</p>
397
+ </dd><dt><code>FONTENCODING_LATIN9</code>
398
+ <dd>
399
+ <p>same as <code>FONTENCODING_ISO_8859_15</code>, Latin 9 (a.k.a. Latin 0)</p>
400
+ </dd><dt><code>FONTENCODING_LATIN10</code>
401
+ <dd>
402
+ <p>same as <code>FONTENCODING_ISO_8859_16</code>, Latin 10</p>
403
+ </dd><dt><code>FONTENCODING_USASCII</code>
404
+ <dd>
405
+ <p>same as <code>FONTENCODING_ISO_8859_1</code>, Latin 1</p>
406
+ </dd><dt><code>FONTENCODING_WESTEUROPE</code>
407
+ <dd>
408
+ <p>same as <code>FONTENCODING_ISO_8859_1</code>, Latin 1 (West European)</p>
409
+ </dd><dt><code>FONTENCODING_EASTEUROPE</code>
410
+ <dd>
411
+ <p>same as <code>FONTENCODING_ISO_8859_2</code>, Latin 2 (East European)</p>
412
+ </dd><dt><code>FONTENCODING_SOUTHEUROPE</code>
413
+ <dd>
414
+ <p>same as <code>FONTENCODING_ISO_8859_3</code>, Latin 3 (South European)</p>
415
+ </dd><dt><code>FONTENCODING_NORTHEUROPE</code>
416
+ <dd>
417
+ <p>same as <code>FONTENCODING_ISO_8859_4</code>, Latin 4 (North European)</p>
418
+ </dd><dt><code>FONTENCODING_CYRILLIC</code>
419
+ <dd>
420
+ <p>same as <code>FONTENCODING_ISO_8859_5</code>, Cyrillic</p>
421
+ </dd><dt><code>FONTENCODING_RUSSIAN</code>
422
+ <dd>
423
+ <p>same as <code>FONTENCODING_KOI8</code>, Cyrillic</p>
424
+ </dd><dt><code>FONTENCODING_ARABIC</code>
425
+ <dd>
426
+ <p>same as <code>FONTENCODING_ISO_8859_6</code>, Arabic</p>
427
+ </dd><dt><code>FONTENCODING_GREEK</code>
428
+ <dd>
429
+ <p>same as <code>FONTENCODING_ISO_8859_7</code>, Greek</p>
430
+ </dd><dt><code>FONTENCODING_HEBREW</code>
431
+ <dd>
432
+ <p>same as <code>FONTENCODING_ISO_8859_8</code>, Hebrew</p>
433
+ </dd><dt><code>FONTENCODING_TURKISH</code>
434
+ <dd>
435
+ <p>same as <code>FONTENCODING_ISO_8859_9</code>, Latin 5 (Turkish)</p>
436
+ </dd><dt><code>FONTENCODING_NORDIC</code>
437
+ <dd>
438
+ <p>same as <code>FONTENCODING_ISO_8859_10</code>, Latin 6 (Nordic)</p>
439
+ </dd><dt><code>FONTENCODING_THAI</code>
440
+ <dd>
441
+ <p>same as <code>FONTENCODING_ISO_8859_11</code>, Thai</p>
442
+ </dd><dt><code>FONTENCODING_BALTIC</code>
443
+ <dd>
444
+ <p>same as <code>FONTENCODING_ISO_8859_13</code>, Latin 7 (Baltic Rim)</p>
445
+ </dd><dt><code>FONTENCODING_CELTIC</code>
446
+ <dd>
447
+ <p>same as &lt;tt&gt;FONTENCODING_ISO_8859_14, Latin 8 (Celtic)</p>
448
+ </dd></dl>
449
+
450
+
451
+ </div>
452
+ </div>
453
+ <div class="tags">
454
+
455
+
456
+ </div>
457
+
458
+
459
+
460
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
461
+ <ul class="summary">
462
+
463
+ <li class="public ">
464
+ <span class="summary_signature">
465
+
466
+ <a href="#actualEncoding-instance_method" title="#actualEncoding (instance method)">#<strong>actualEncoding</strong> &#x21d2; Object </a>
467
+
468
+
469
+
470
+ </span>
471
+
472
+
473
+
474
+
475
+ <span class="note title readonly">readonly</span>
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+ <span class="summary_desc"><div class='inline'>
486
+ <p>Actual encoding [Integer].</p>
487
+ </div></span>
488
+
489
+ </li>
490
+
491
+
492
+ <li class="public ">
493
+ <span class="summary_signature">
494
+
495
+ <a href="#actualName-instance_method" title="#actualName (instance method)">#<strong>actualName</strong> &#x21d2; Object </a>
496
+
497
+
498
+
499
+ </span>
500
+
501
+
502
+
503
+
504
+ <span class="note title readonly">readonly</span>
505
+
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+ <span class="summary_desc"><div class='inline'>
515
+ <p>Actual font family name [String].</p>
516
+ </div></span>
517
+
518
+ </li>
519
+
520
+
521
+ <li class="public ">
522
+ <span class="summary_signature">
523
+
524
+ <a href="#actualSetWidth-instance_method" title="#actualSetWidth (instance method)">#<strong>actualSetWidth</strong> &#x21d2; Object </a>
525
+
526
+
527
+
528
+ </span>
529
+
530
+
531
+
532
+
533
+ <span class="note title readonly">readonly</span>
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+ <span class="summary_desc"><div class='inline'>
544
+ <p>Actual set width [Integer].</p>
545
+ </div></span>
546
+
547
+ </li>
548
+
549
+
550
+ <li class="public ">
551
+ <span class="summary_signature">
552
+
553
+ <a href="#actualSize-instance_method" title="#actualSize (instance method)">#<strong>actualSize</strong> &#x21d2; Object </a>
554
+
555
+
556
+
557
+ </span>
558
+
559
+
560
+
561
+
562
+ <span class="note title readonly">readonly</span>
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+ <span class="summary_desc"><div class='inline'>
573
+ <p>Actual size in deci-points [Integer].</p>
574
+ </div></span>
575
+
576
+ </li>
577
+
578
+
579
+ <li class="public ">
580
+ <span class="summary_signature">
581
+
582
+ <a href="#actualSlant-instance_method" title="#actualSlant (instance method)">#<strong>actualSlant</strong> &#x21d2; Object </a>
583
+
584
+
585
+
586
+ </span>
587
+
588
+
589
+
590
+
591
+ <span class="note title readonly">readonly</span>
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+ <span class="summary_desc"><div class='inline'>
602
+ <p>Actual slant [Integer].</p>
603
+ </div></span>
604
+
605
+ </li>
606
+
607
+
608
+ <li class="public ">
609
+ <span class="summary_signature">
610
+
611
+ <a href="#actualWeight-instance_method" title="#actualWeight (instance method)">#<strong>actualWeight</strong> &#x21d2; Object </a>
612
+
613
+
614
+
615
+ </span>
616
+
617
+
618
+
619
+
620
+ <span class="note title readonly">readonly</span>
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+
630
+ <span class="summary_desc"><div class='inline'>
631
+ <p>Actual font weight [Integer].</p>
632
+ </div></span>
633
+
634
+ </li>
635
+
636
+
637
+ <li class="public ">
638
+ <span class="summary_signature">
639
+
640
+ <a href="#angle-instance_method" title="#angle (instance method)">#<strong>angle</strong> &#x21d2; Object </a>
641
+
642
+
643
+
644
+ </span>
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+ <span class="summary_desc"><div class='inline'>
658
+ <p>Font angle [Integer].</p>
659
+ </div></span>
660
+
661
+ </li>
662
+
663
+
664
+ <li class="public ">
665
+ <span class="summary_signature">
666
+
667
+ <a href="#encoding-instance_method" title="#encoding (instance method)">#<strong>encoding</strong> &#x21d2; Object </a>
668
+
669
+
670
+
671
+ </span>
672
+
673
+
674
+
675
+
676
+ <span class="note title readonly">readonly</span>
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+ <span class="summary_desc"><div class='inline'>
687
+ <p>Encoding [Integer].</p>
688
+ </div></span>
689
+
690
+ </li>
691
+
692
+
693
+ <li class="public ">
694
+ <span class="summary_signature">
695
+
696
+ <a href="#family-instance_method" title="#family (instance method)">#<strong>family</strong> &#x21d2; Object </a>
697
+
698
+
699
+
700
+ </span>
701
+
702
+
703
+
704
+
705
+ <span class="note title readonly">readonly</span>
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+ <span class="summary_desc"><div class='inline'>
716
+ <p>Family part of name [String].</p>
717
+ </div></span>
718
+
719
+ </li>
720
+
721
+
722
+ <li class="public ">
723
+ <span class="summary_signature">
724
+
725
+ <a href="#fontAscent-instance_method" title="#fontAscent (instance method)">#<strong>fontAscent</strong> &#x21d2; Object </a>
726
+
727
+
728
+
729
+ </span>
730
+
731
+
732
+
733
+
734
+ <span class="note title readonly">readonly</span>
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+ <span class="summary_desc"><div class='inline'>
745
+ <p>Ascent from baseline [Integer].</p>
746
+ </div></span>
747
+
748
+ </li>
749
+
750
+
751
+ <li class="public ">
752
+ <span class="summary_signature">
753
+
754
+ <a href="#fontDesc-instance_method" title="#fontDesc (instance method)">#<strong>fontDesc</strong> &#x21d2; Object </a>
755
+
756
+
757
+
758
+ </span>
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+ <span class="summary_desc"><div class='inline'>
772
+ <p>Font description <span class='object_link'><a href="FXFontDesc.html" title="Fox::FXFontDesc (class)">FXFontDesc</a></span>.</p>
773
+ </div></span>
774
+
775
+ </li>
776
+
777
+
778
+ <li class="public ">
779
+ <span class="summary_signature">
780
+
781
+ <a href="#fontDescent-instance_method" title="#fontDescent (instance method)">#<strong>fontDescent</strong> &#x21d2; Object </a>
782
+
783
+
784
+
785
+ </span>
786
+
787
+
788
+
789
+
790
+ <span class="note title readonly">readonly</span>
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+
800
+ <span class="summary_desc"><div class='inline'>
801
+ <p>Descent from baseline [Integer].</p>
802
+ </div></span>
803
+
804
+ </li>
805
+
806
+
807
+ <li class="public ">
808
+ <span class="summary_signature">
809
+
810
+ <a href="#fontHeight-instance_method" title="#fontHeight (instance method)">#<strong>fontHeight</strong> &#x21d2; Object </a>
811
+
812
+
813
+
814
+ </span>
815
+
816
+
817
+
818
+
819
+ <span class="note title readonly">readonly</span>
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+ <span class="summary_desc"><div class='inline'>
830
+ <p>Height of tallest character in font [Integer].</p>
831
+ </div></span>
832
+
833
+ </li>
834
+
835
+
836
+ <li class="public ">
837
+ <span class="summary_signature">
838
+
839
+ <a href="#fontLeading-instance_method" title="#fontLeading (instance method)">#<strong>fontLeading</strong> &#x21d2; Object </a>
840
+
841
+
842
+
843
+ </span>
844
+
845
+
846
+
847
+
848
+ <span class="note title readonly">readonly</span>
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+
858
+ <span class="summary_desc"><div class='inline'>
859
+ <p>Font leading [Integer].</p>
860
+ </div></span>
861
+
862
+ </li>
863
+
864
+
865
+ <li class="public ">
866
+ <span class="summary_signature">
867
+
868
+ <a href="#fontSpacing-instance_method" title="#fontSpacing (instance method)">#<strong>fontSpacing</strong> &#x21d2; Object </a>
869
+
870
+
871
+
872
+ </span>
873
+
874
+
875
+
876
+
877
+ <span class="note title readonly">readonly</span>
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+ <span class="summary_desc"><div class='inline'>
888
+ <p>Font line spacing [Integer].</p>
889
+ </div></span>
890
+
891
+ </li>
892
+
893
+
894
+ <li class="public ">
895
+ <span class="summary_signature">
896
+
897
+ <a href="#fontWidth-instance_method" title="#fontWidth (instance method)">#<strong>fontWidth</strong> &#x21d2; Object </a>
898
+
899
+
900
+
901
+ </span>
902
+
903
+
904
+
905
+
906
+ <span class="note title readonly">readonly</span>
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+ <span class="summary_desc"><div class='inline'>
917
+ <p>Width of widest character in font [Integer].</p>
918
+ </div></span>
919
+
920
+ </li>
921
+
922
+
923
+ <li class="public ">
924
+ <span class="summary_signature">
925
+
926
+ <a href="#foundry-instance_method" title="#foundry (instance method)">#<strong>foundry</strong> &#x21d2; Object </a>
927
+
928
+
929
+
930
+ </span>
931
+
932
+
933
+
934
+
935
+ <span class="note title readonly">readonly</span>
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+
945
+ <span class="summary_desc"><div class='inline'>
946
+ <p>Foundry part of name [String].</p>
947
+ </div></span>
948
+
949
+ </li>
950
+
951
+
952
+ <li class="public ">
953
+ <span class="summary_signature">
954
+
955
+ <a href="#hints-instance_method" title="#hints (instance method)">#<strong>hints</strong> &#x21d2; Object </a>
956
+
957
+
958
+
959
+ </span>
960
+
961
+
962
+
963
+
964
+ <span class="note title readonly">readonly</span>
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+ <span class="summary_desc"><div class='inline'>
975
+ <p>Hints [Integer].</p>
976
+ </div></span>
977
+
978
+ </li>
979
+
980
+
981
+ <li class="public ">
982
+ <span class="summary_signature">
983
+
984
+ <a href="#maxChar-instance_method" title="#maxChar (instance method)">#<strong>maxChar</strong> &#x21d2; Object </a>
985
+
986
+
987
+
988
+ </span>
989
+
990
+
991
+
992
+
993
+ <span class="note title readonly">readonly</span>
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+ <span class="summary_desc"><div class='inline'>
1004
+ <p>Last character glyph in font [Integer].</p>
1005
+ </div></span>
1006
+
1007
+ </li>
1008
+
1009
+
1010
+ <li class="public ">
1011
+ <span class="summary_signature">
1012
+
1013
+ <a href="#name-instance_method" title="#name (instance method)">#<strong>name</strong> &#x21d2; Object </a>
1014
+
1015
+
1016
+
1017
+ </span>
1018
+
1019
+
1020
+
1021
+
1022
+ <span class="note title readonly">readonly</span>
1023
+
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+ <span class="summary_desc"><div class='inline'>
1033
+ <p>Font family name [String].</p>
1034
+ </div></span>
1035
+
1036
+ </li>
1037
+
1038
+
1039
+ <li class="public ">
1040
+ <span class="summary_signature">
1041
+
1042
+ <a href="#setWidth-instance_method" title="#setWidth (instance method)">#<strong>setWidth</strong> &#x21d2; Object </a>
1043
+
1044
+
1045
+
1046
+ </span>
1047
+
1048
+
1049
+
1050
+
1051
+ <span class="note title readonly">readonly</span>
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+ <span class="summary_desc"><div class='inline'>
1062
+ <p>Set width [Integer].</p>
1063
+ </div></span>
1064
+
1065
+ </li>
1066
+
1067
+
1068
+ <li class="public ">
1069
+ <span class="summary_signature">
1070
+
1071
+ <a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> &#x21d2; Object </a>
1072
+
1073
+
1074
+
1075
+ </span>
1076
+
1077
+
1078
+
1079
+
1080
+ <span class="note title readonly">readonly</span>
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+ <span class="summary_desc"><div class='inline'>
1091
+ <p>Size in decipoints [Integer].</p>
1092
+ </div></span>
1093
+
1094
+ </li>
1095
+
1096
+
1097
+ <li class="public ">
1098
+ <span class="summary_signature">
1099
+
1100
+ <a href="#slant-instance_method" title="#slant (instance method)">#<strong>slant</strong> &#x21d2; Object </a>
1101
+
1102
+
1103
+
1104
+ </span>
1105
+
1106
+
1107
+
1108
+
1109
+ <span class="note title readonly">readonly</span>
1110
+
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+ <span class="summary_desc"><div class='inline'>
1120
+ <p>Slant [Integer].</p>
1121
+ </div></span>
1122
+
1123
+ </li>
1124
+
1125
+
1126
+ <li class="public ">
1127
+ <span class="summary_signature">
1128
+
1129
+ <a href="#weight-instance_method" title="#weight (instance method)">#<strong>weight</strong> &#x21d2; Object </a>
1130
+
1131
+
1132
+
1133
+ </span>
1134
+
1135
+
1136
+
1137
+
1138
+ <span class="note title readonly">readonly</span>
1139
+
1140
+
1141
+
1142
+
1143
+
1144
+
1145
+
1146
+
1147
+
1148
+ <span class="summary_desc"><div class='inline'>
1149
+ <p>Font weight [Integer].</p>
1150
+ </div></span>
1151
+
1152
+ </li>
1153
+
1154
+
1155
+ </ul>
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1162
+ <p class="inherited"><span class='object_link'><a href="FXId.html#app-instance_method" title="Fox::FXId#app (method)">#app</a></span>, <span class='object_link'><a href="FXId.html#userData-instance_method" title="Fox::FXId#userData (method)">#userData</a></span>, <span class='object_link'><a href="FXId.html#xid-instance_method" title="Fox::FXId#xid (method)">#xid</a></span></p>
1163
+
1164
+
1165
+
1166
+ <h2>
1167
+ Class Method Summary
1168
+ <small><a href="#" class="summary_toggle">collapse</a></small>
1169
+ </h2>
1170
+
1171
+ <ul class="summary">
1172
+
1173
+ <li class="public ">
1174
+ <span class="summary_signature">
1175
+
1176
+ <a href="#listFonts-class_method" title="listFonts (class method)">.<strong>listFonts</strong>(face, weight = 0, slant = 0, setWidth = 0, encoding = 0, hints = 0) &#x21d2; Object </a>
1177
+
1178
+
1179
+
1180
+ </span>
1181
+
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+
1189
+
1190
+ <span class="summary_desc"><div class='inline'>
1191
+ <p>List all fonts matching hints.</p>
1192
+ </div></span>
1193
+
1194
+ </li>
1195
+
1196
+
1197
+ </ul>
1198
+
1199
+ <h2>
1200
+ Instance Method Summary
1201
+ <small><a href="#" class="summary_toggle">collapse</a></small>
1202
+ </h2>
1203
+
1204
+ <ul class="summary">
1205
+
1206
+ <li class="public ">
1207
+ <span class="summary_signature">
1208
+
1209
+ <a href="#fontMono%3F-instance_method" title="#fontMono? (instance method)">#<strong>fontMono?</strong> &#x21d2; Boolean </a>
1210
+
1211
+
1212
+
1213
+ </span>
1214
+
1215
+
1216
+
1217
+
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+ <span class="summary_desc"><div class='inline'>
1224
+ <p>Return <code>true</code> if font is monospaced.</p>
1225
+ </div></span>
1226
+
1227
+ </li>
1228
+
1229
+
1230
+ <li class="public ">
1231
+ <span class="summary_signature">
1232
+
1233
+ <a href="#getCharWidth-instance_method" title="#getCharWidth (instance method)">#<strong>getCharWidth</strong>(ch) &#x21d2; Object </a>
1234
+
1235
+
1236
+
1237
+ </span>
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+ <span class="summary_desc"><div class='inline'>
1248
+ <p>Calculate width of single wide character <em>ch</em> in this font.</p>
1249
+ </div></span>
1250
+
1251
+ </li>
1252
+
1253
+
1254
+ <li class="public ">
1255
+ <span class="summary_signature">
1256
+
1257
+ <a href="#getFont-instance_method" title="#getFont (instance method)">#<strong>getFont</strong> &#x21d2; Object </a>
1258
+
1259
+
1260
+
1261
+ </span>
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+ <span class="summary_desc"><div class='inline'>
1272
+ <p>Return the font description as a string suitable for parsing with <span class='object_link'><a href="#setFont-instance_method" title="Fox::FXFont#setFont (method)">#setFont</a></span>, see above.</p>
1273
+ </div></span>
1274
+
1275
+ </li>
1276
+
1277
+
1278
+ <li class="public ">
1279
+ <span class="summary_signature">
1280
+
1281
+ <a href="#getTextHeight-instance_method" title="#getTextHeight (instance method)">#<strong>getTextHeight</strong>(text) &#x21d2; Object </a>
1282
+
1283
+
1284
+
1285
+ </span>
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+ <span class="summary_desc"><div class='inline'>
1296
+ <p>Returns the height of given <em>text</em> in this font.</p>
1297
+ </div></span>
1298
+
1299
+ </li>
1300
+
1301
+
1302
+ <li class="public ">
1303
+ <span class="summary_signature">
1304
+
1305
+ <a href="#getTextWidth-instance_method" title="#getTextWidth (instance method)">#<strong>getTextWidth</strong>(text) &#x21d2; Object </a>
1306
+
1307
+
1308
+
1309
+ </span>
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+ <span class="summary_desc"><div class='inline'>
1320
+ <p>Returns the width of given <em>text</em> in this font.</p>
1321
+ </div></span>
1322
+
1323
+ </li>
1324
+
1325
+
1326
+ <li class="public ">
1327
+ <span class="summary_signature">
1328
+
1329
+ <a href="#hasChar%3F-instance_method" title="#hasChar? (instance method)">#<strong>hasChar?</strong>(ch) &#x21d2; Boolean </a>
1330
+
1331
+
1332
+
1333
+ </span>
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+ <span class="summary_desc"><div class='inline'>
1344
+ <p>Return <code>true</code> if font has glyph for <em>ch</em>.</p>
1345
+ </div></span>
1346
+
1347
+ </li>
1348
+
1349
+
1350
+ <li class="public ">
1351
+ <span class="summary_signature">
1352
+
1353
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(a, string) &#x21d2; FXFont </a>
1354
+
1355
+
1356
+
1357
+ </span>
1358
+
1359
+
1360
+ <span class="note title constructor">constructor</span>
1361
+
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+ <span class="summary_desc"><div class='inline'>
1370
+ <p>Construct a font with given font description of the form:.</p>
1371
+ </div></span>
1372
+
1373
+ </li>
1374
+
1375
+
1376
+ <li class="public ">
1377
+ <span class="summary_signature">
1378
+
1379
+ <a href="#leftBearing-instance_method" title="#leftBearing (instance method)">#<strong>leftBearing</strong>(ch) &#x21d2; Object </a>
1380
+
1381
+
1382
+
1383
+ </span>
1384
+
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+ <span class="summary_desc"><div class='inline'>
1394
+ <p>Returns the left-side bearing (the distance from the origin to the leftmost pixel in the character) for <em>ch</em>.</p>
1395
+ </div></span>
1396
+
1397
+ </li>
1398
+
1399
+
1400
+ <li class="public ">
1401
+ <span class="summary_signature">
1402
+
1403
+ <a href="#rightBearing-instance_method" title="#rightBearing (instance method)">#<strong>rightBearing</strong>(ch) &#x21d2; Object </a>
1404
+
1405
+
1406
+
1407
+ </span>
1408
+
1409
+
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+ <span class="summary_desc"><div class='inline'>
1418
+ <p>Returns the right-side bearing (the distance from the origin to the rightmost pixel in the character) for <em>ch</em>.</p>
1419
+ </div></span>
1420
+
1421
+ </li>
1422
+
1423
+
1424
+ <li class="public ">
1425
+ <span class="summary_signature">
1426
+
1427
+ <a href="#setFont-instance_method" title="#setFont (instance method)">#<strong>setFont</strong>(string) &#x21d2; Object </a>
1428
+
1429
+
1430
+
1431
+ </span>
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+ <span class="summary_desc"><div class='inline'>
1442
+ <p>Change the font to the specified font description string.</p>
1443
+ </div></span>
1444
+
1445
+ </li>
1446
+
1447
+
1448
+ </ul>
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1461
+ <p class="inherited"><span class='object_link'><a href="FXId.html#create-instance_method" title="Fox::FXId#create (method)">#create</a></span>, <span class='object_link'><a href="FXId.html#created%3F-instance_method" title="Fox::FXId#created? (method)">#created?</a></span>, <span class='object_link'><a href="FXId.html#destroy-instance_method" title="Fox::FXId#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXId.html#detach-instance_method" title="Fox::FXId#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXId.html#runOnUiThread-instance_method" title="Fox::FXId#runOnUiThread (method)">#runOnUiThread</a></span></p>
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
1472
+ <p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
1473
+ <div id="constructor_details" class="method_details_list">
1474
+ <h2>Constructor Details</h2>
1475
+
1476
+ <div class="method_details first">
1477
+ <h3 class="signature first" id="initialize-instance_method">
1478
+
1479
+ #<strong>initialize</strong>(a, string) &#x21d2; <tt><span class='object_link'><a href="" title="Fox::FXFont (class)">FXFont</a></span></tt>
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+ </h3><div class="docstring">
1486
+ <div class="discussion">
1487
+
1488
+ <p>Construct a font with given font description of the form:</p>
1489
+
1490
+ <pre class="code ruby"><code class="ruby"> fontname [ &quot;[&quot; foundry &quot;]&quot; ] [&quot;,&quot; size [&quot;,&quot; weight [&quot;,&quot; slant [&quot;,&quot; setwidth [&quot;,&quot; encoding [&quot;,&quot; hints]]]]]]
1491
+
1492
+ For example:
1493
+
1494
+ &quot;helvetica [bitstream],120,bold,italic,normal,iso8859-1,0&quot;
1495
+
1496
+ Typically, at least the font name, and size must be given for
1497
+ normal font matching. As a special case, raw X11 fonts can also be
1498
+ passed, for example:
1499
+
1500
+ &quot;9x15bold&quot;
1501
+ </code></pre>
1502
+
1503
+ <p>Note: use of the raw X11 fonts is stronly discouraged.</p>
1504
+
1505
+
1506
+ </div>
1507
+ </div>
1508
+ <div class="tags">
1509
+
1510
+
1511
+ </div><table class="source_code">
1512
+ <tr>
1513
+ <td>
1514
+ <pre class="lines">
1515
+
1516
+
1517
+ 258
1518
+ 259</pre>
1519
+ </td>
1520
+ <td>
1521
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 258</span>
1522
+
1523
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_a'>a</span><span class='comma'>,</span> <span class='id identifier rubyid_fontDesc'>fontDesc</span><span class='rparen'>)</span> <span class='comment'># :yields: theFont
1524
+ </span><span class='kw'>end</span></pre>
1525
+ </td>
1526
+ </tr>
1527
+ </table>
1528
+ </div>
1529
+
1530
+ </div>
1531
+
1532
+ <div id="instance_attr_details" class="attr_details">
1533
+ <h2>Instance Attribute Details</h2>
1534
+
1535
+
1536
+ <span id=""></span>
1537
+ <div class="method_details first">
1538
+ <h3 class="signature first" id="actualEncoding-instance_method">
1539
+
1540
+ #<strong>actualEncoding</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+ </h3><div class="docstring">
1547
+ <div class="discussion">
1548
+
1549
+ <p>Actual encoding [Integer]</p>
1550
+
1551
+
1552
+ </div>
1553
+ </div>
1554
+ <div class="tags">
1555
+
1556
+
1557
+ </div><table class="source_code">
1558
+ <tr>
1559
+ <td>
1560
+ <pre class="lines">
1561
+
1562
+
1563
+ 206
1564
+ 207
1565
+ 208</pre>
1566
+ </td>
1567
+ <td>
1568
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 206</span>
1569
+
1570
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualEncoding'>actualEncoding</span>
1571
+ <span class='ivar'>@actualEncoding</span>
1572
+ <span class='kw'>end</span></pre>
1573
+ </td>
1574
+ </tr>
1575
+ </table>
1576
+ </div>
1577
+
1578
+
1579
+ <span id=""></span>
1580
+ <div class="method_details ">
1581
+ <h3 class="signature " id="actualName-instance_method">
1582
+
1583
+ #<strong>actualName</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+ </h3><div class="docstring">
1590
+ <div class="discussion">
1591
+
1592
+ <p>Actual font family name [String]</p>
1593
+
1594
+
1595
+ </div>
1596
+ </div>
1597
+ <div class="tags">
1598
+
1599
+
1600
+ </div><table class="source_code">
1601
+ <tr>
1602
+ <td>
1603
+ <pre class="lines">
1604
+
1605
+
1606
+ 182
1607
+ 183
1608
+ 184</pre>
1609
+ </td>
1610
+ <td>
1611
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 182</span>
1612
+
1613
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualName'>actualName</span>
1614
+ <span class='ivar'>@actualName</span>
1615
+ <span class='kw'>end</span></pre>
1616
+ </td>
1617
+ </tr>
1618
+ </table>
1619
+ </div>
1620
+
1621
+
1622
+ <span id=""></span>
1623
+ <div class="method_details ">
1624
+ <h3 class="signature " id="actualSetWidth-instance_method">
1625
+
1626
+ #<strong>actualSetWidth</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1627
+
1628
+
1629
+
1630
+
1631
+
1632
+ </h3><div class="docstring">
1633
+ <div class="discussion">
1634
+
1635
+ <p>Actual set width [Integer]</p>
1636
+
1637
+
1638
+ </div>
1639
+ </div>
1640
+ <div class="tags">
1641
+
1642
+
1643
+ </div><table class="source_code">
1644
+ <tr>
1645
+ <td>
1646
+ <pre class="lines">
1647
+
1648
+
1649
+ 212
1650
+ 213
1651
+ 214</pre>
1652
+ </td>
1653
+ <td>
1654
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 212</span>
1655
+
1656
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualSetWidth'>actualSetWidth</span>
1657
+ <span class='ivar'>@actualSetWidth</span>
1658
+ <span class='kw'>end</span></pre>
1659
+ </td>
1660
+ </tr>
1661
+ </table>
1662
+ </div>
1663
+
1664
+
1665
+ <span id=""></span>
1666
+ <div class="method_details ">
1667
+ <h3 class="signature " id="actualSize-instance_method">
1668
+
1669
+ #<strong>actualSize</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1670
+
1671
+
1672
+
1673
+
1674
+
1675
+ </h3><div class="docstring">
1676
+ <div class="discussion">
1677
+
1678
+ <p>Actual size in deci-points [Integer]</p>
1679
+
1680
+
1681
+ </div>
1682
+ </div>
1683
+ <div class="tags">
1684
+
1685
+
1686
+ </div><table class="source_code">
1687
+ <tr>
1688
+ <td>
1689
+ <pre class="lines">
1690
+
1691
+
1692
+ 188
1693
+ 189
1694
+ 190</pre>
1695
+ </td>
1696
+ <td>
1697
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 188</span>
1698
+
1699
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualSize'>actualSize</span>
1700
+ <span class='ivar'>@actualSize</span>
1701
+ <span class='kw'>end</span></pre>
1702
+ </td>
1703
+ </tr>
1704
+ </table>
1705
+ </div>
1706
+
1707
+
1708
+ <span id=""></span>
1709
+ <div class="method_details ">
1710
+ <h3 class="signature " id="actualSlant-instance_method">
1711
+
1712
+ #<strong>actualSlant</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1713
+
1714
+
1715
+
1716
+
1717
+
1718
+ </h3><div class="docstring">
1719
+ <div class="discussion">
1720
+
1721
+ <p>Actual slant [Integer]</p>
1722
+
1723
+
1724
+ </div>
1725
+ </div>
1726
+ <div class="tags">
1727
+
1728
+
1729
+ </div><table class="source_code">
1730
+ <tr>
1731
+ <td>
1732
+ <pre class="lines">
1733
+
1734
+
1735
+ 200
1736
+ 201
1737
+ 202</pre>
1738
+ </td>
1739
+ <td>
1740
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 200</span>
1741
+
1742
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualSlant'>actualSlant</span>
1743
+ <span class='ivar'>@actualSlant</span>
1744
+ <span class='kw'>end</span></pre>
1745
+ </td>
1746
+ </tr>
1747
+ </table>
1748
+ </div>
1749
+
1750
+
1751
+ <span id=""></span>
1752
+ <div class="method_details ">
1753
+ <h3 class="signature " id="actualWeight-instance_method">
1754
+
1755
+ #<strong>actualWeight</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1756
+
1757
+
1758
+
1759
+
1760
+
1761
+ </h3><div class="docstring">
1762
+ <div class="discussion">
1763
+
1764
+ <p>Actual font weight [Integer]</p>
1765
+
1766
+
1767
+ </div>
1768
+ </div>
1769
+ <div class="tags">
1770
+
1771
+
1772
+ </div><table class="source_code">
1773
+ <tr>
1774
+ <td>
1775
+ <pre class="lines">
1776
+
1777
+
1778
+ 194
1779
+ 195
1780
+ 196</pre>
1781
+ </td>
1782
+ <td>
1783
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 194</span>
1784
+
1785
+ <span class='kw'>def</span> <span class='id identifier rubyid_actualWeight'>actualWeight</span>
1786
+ <span class='ivar'>@actualWeight</span>
1787
+ <span class='kw'>end</span></pre>
1788
+ </td>
1789
+ </tr>
1790
+ </table>
1791
+ </div>
1792
+
1793
+
1794
+ <span id="angle=-instance_method"></span>
1795
+ <div class="method_details ">
1796
+ <h3 class="signature " id="angle-instance_method">
1797
+
1798
+ #<strong>angle</strong> &#x21d2; <tt>Object</tt>
1799
+
1800
+
1801
+
1802
+
1803
+
1804
+ </h3><div class="docstring">
1805
+ <div class="discussion">
1806
+
1807
+ <p>Font angle [Integer]</p>
1808
+
1809
+
1810
+ </div>
1811
+ </div>
1812
+ <div class="tags">
1813
+
1814
+
1815
+ </div><table class="source_code">
1816
+ <tr>
1817
+ <td>
1818
+ <pre class="lines">
1819
+
1820
+
1821
+ 221
1822
+ 222
1823
+ 223</pre>
1824
+ </td>
1825
+ <td>
1826
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 221</span>
1827
+
1828
+ <span class='kw'>def</span> <span class='id identifier rubyid_angle'>angle</span>
1829
+ <span class='ivar'>@angle</span>
1830
+ <span class='kw'>end</span></pre>
1831
+ </td>
1832
+ </tr>
1833
+ </table>
1834
+ </div>
1835
+
1836
+
1837
+ <span id=""></span>
1838
+ <div class="method_details ">
1839
+ <h3 class="signature " id="encoding-instance_method">
1840
+
1841
+ #<strong>encoding</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1842
+
1843
+
1844
+
1845
+
1846
+
1847
+ </h3><div class="docstring">
1848
+ <div class="discussion">
1849
+
1850
+ <p>Encoding [Integer]</p>
1851
+
1852
+
1853
+ </div>
1854
+ </div>
1855
+ <div class="tags">
1856
+
1857
+
1858
+ </div><table class="source_code">
1859
+ <tr>
1860
+ <td>
1861
+ <pre class="lines">
1862
+
1863
+
1864
+ 203
1865
+ 204
1866
+ 205</pre>
1867
+ </td>
1868
+ <td>
1869
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 203</span>
1870
+
1871
+ <span class='kw'>def</span> <span class='id identifier rubyid_encoding'>encoding</span>
1872
+ <span class='ivar'>@encoding</span>
1873
+ <span class='kw'>end</span></pre>
1874
+ </td>
1875
+ </tr>
1876
+ </table>
1877
+ </div>
1878
+
1879
+
1880
+ <span id=""></span>
1881
+ <div class="method_details ">
1882
+ <h3 class="signature " id="family-instance_method">
1883
+
1884
+ #<strong>family</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1885
+
1886
+
1887
+
1888
+
1889
+
1890
+ </h3><div class="docstring">
1891
+ <div class="discussion">
1892
+
1893
+ <p>Family part of name [String]</p>
1894
+
1895
+
1896
+ </div>
1897
+ </div>
1898
+ <div class="tags">
1899
+
1900
+
1901
+ </div><table class="source_code">
1902
+ <tr>
1903
+ <td>
1904
+ <pre class="lines">
1905
+
1906
+
1907
+ 173
1908
+ 174
1909
+ 175</pre>
1910
+ </td>
1911
+ <td>
1912
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 173</span>
1913
+
1914
+ <span class='kw'>def</span> <span class='id identifier rubyid_family'>family</span>
1915
+ <span class='ivar'>@family</span>
1916
+ <span class='kw'>end</span></pre>
1917
+ </td>
1918
+ </tr>
1919
+ </table>
1920
+ </div>
1921
+
1922
+
1923
+ <span id=""></span>
1924
+ <div class="method_details ">
1925
+ <h3 class="signature " id="fontAscent-instance_method">
1926
+
1927
+ #<strong>fontAscent</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1928
+
1929
+
1930
+
1931
+
1932
+
1933
+ </h3><div class="docstring">
1934
+ <div class="discussion">
1935
+
1936
+ <p>Ascent from baseline [Integer]</p>
1937
+
1938
+
1939
+ </div>
1940
+ </div>
1941
+ <div class="tags">
1942
+
1943
+
1944
+ </div><table class="source_code">
1945
+ <tr>
1946
+ <td>
1947
+ <pre class="lines">
1948
+
1949
+
1950
+ 239
1951
+ 240
1952
+ 241</pre>
1953
+ </td>
1954
+ <td>
1955
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 239</span>
1956
+
1957
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontAscent'>fontAscent</span>
1958
+ <span class='ivar'>@fontAscent</span>
1959
+ <span class='kw'>end</span></pre>
1960
+ </td>
1961
+ </tr>
1962
+ </table>
1963
+ </div>
1964
+
1965
+
1966
+ <span id="fontDesc=-instance_method"></span>
1967
+ <div class="method_details ">
1968
+ <h3 class="signature " id="fontDesc-instance_method">
1969
+
1970
+ #<strong>fontDesc</strong> &#x21d2; <tt>Object</tt>
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+ </h3><div class="docstring">
1977
+ <div class="discussion">
1978
+
1979
+ <p>Font description <span class='object_link'><a href="FXFontDesc.html" title="Fox::FXFontDesc (class)">Fox::FXFontDesc</a></span></p>
1980
+
1981
+
1982
+ </div>
1983
+ </div>
1984
+ <div class="tags">
1985
+
1986
+
1987
+ </div><table class="source_code">
1988
+ <tr>
1989
+ <td>
1990
+ <pre class="lines">
1991
+
1992
+
1993
+ 218
1994
+ 219
1995
+ 220</pre>
1996
+ </td>
1997
+ <td>
1998
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 218</span>
1999
+
2000
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontDesc'>fontDesc</span>
2001
+ <span class='ivar'>@fontDesc</span>
2002
+ <span class='kw'>end</span></pre>
2003
+ </td>
2004
+ </tr>
2005
+ </table>
2006
+ </div>
2007
+
2008
+
2009
+ <span id=""></span>
2010
+ <div class="method_details ">
2011
+ <h3 class="signature " id="fontDescent-instance_method">
2012
+
2013
+ #<strong>fontDescent</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+ </h3><div class="docstring">
2020
+ <div class="discussion">
2021
+
2022
+ <p>Descent from baseline [Integer]</p>
2023
+
2024
+
2025
+ </div>
2026
+ </div>
2027
+ <div class="tags">
2028
+
2029
+
2030
+ </div><table class="source_code">
2031
+ <tr>
2032
+ <td>
2033
+ <pre class="lines">
2034
+
2035
+
2036
+ 242
2037
+ 243
2038
+ 244</pre>
2039
+ </td>
2040
+ <td>
2041
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 242</span>
2042
+
2043
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontDescent'>fontDescent</span>
2044
+ <span class='ivar'>@fontDescent</span>
2045
+ <span class='kw'>end</span></pre>
2046
+ </td>
2047
+ </tr>
2048
+ </table>
2049
+ </div>
2050
+
2051
+
2052
+ <span id=""></span>
2053
+ <div class="method_details ">
2054
+ <h3 class="signature " id="fontHeight-instance_method">
2055
+
2056
+ #<strong>fontHeight</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2057
+
2058
+
2059
+
2060
+
2061
+
2062
+ </h3><div class="docstring">
2063
+ <div class="discussion">
2064
+
2065
+ <p>Height of tallest character in font [Integer]</p>
2066
+
2067
+
2068
+ </div>
2069
+ </div>
2070
+ <div class="tags">
2071
+
2072
+
2073
+ </div><table class="source_code">
2074
+ <tr>
2075
+ <td>
2076
+ <pre class="lines">
2077
+
2078
+
2079
+ 236
2080
+ 237
2081
+ 238</pre>
2082
+ </td>
2083
+ <td>
2084
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 236</span>
2085
+
2086
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontHeight'>fontHeight</span>
2087
+ <span class='ivar'>@fontHeight</span>
2088
+ <span class='kw'>end</span></pre>
2089
+ </td>
2090
+ </tr>
2091
+ </table>
2092
+ </div>
2093
+
2094
+
2095
+ <span id=""></span>
2096
+ <div class="method_details ">
2097
+ <h3 class="signature " id="fontLeading-instance_method">
2098
+
2099
+ #<strong>fontLeading</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2100
+
2101
+
2102
+
2103
+
2104
+
2105
+ </h3><div class="docstring">
2106
+ <div class="discussion">
2107
+
2108
+ <p>Font leading [Integer]</p>
2109
+
2110
+
2111
+ </div>
2112
+ </div>
2113
+ <div class="tags">
2114
+
2115
+
2116
+ </div><table class="source_code">
2117
+ <tr>
2118
+ <td>
2119
+ <pre class="lines">
2120
+
2121
+
2122
+ 245
2123
+ 246
2124
+ 247</pre>
2125
+ </td>
2126
+ <td>
2127
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 245</span>
2128
+
2129
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontLeading'>fontLeading</span>
2130
+ <span class='ivar'>@fontLeading</span>
2131
+ <span class='kw'>end</span></pre>
2132
+ </td>
2133
+ </tr>
2134
+ </table>
2135
+ </div>
2136
+
2137
+
2138
+ <span id=""></span>
2139
+ <div class="method_details ">
2140
+ <h3 class="signature " id="fontSpacing-instance_method">
2141
+
2142
+ #<strong>fontSpacing</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2143
+
2144
+
2145
+
2146
+
2147
+
2148
+ </h3><div class="docstring">
2149
+ <div class="discussion">
2150
+
2151
+ <p>Font line spacing [Integer]</p>
2152
+
2153
+
2154
+ </div>
2155
+ </div>
2156
+ <div class="tags">
2157
+
2158
+
2159
+ </div><table class="source_code">
2160
+ <tr>
2161
+ <td>
2162
+ <pre class="lines">
2163
+
2164
+
2165
+ 248
2166
+ 249
2167
+ 250</pre>
2168
+ </td>
2169
+ <td>
2170
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 248</span>
2171
+
2172
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontSpacing'>fontSpacing</span>
2173
+ <span class='ivar'>@fontSpacing</span>
2174
+ <span class='kw'>end</span></pre>
2175
+ </td>
2176
+ </tr>
2177
+ </table>
2178
+ </div>
2179
+
2180
+
2181
+ <span id=""></span>
2182
+ <div class="method_details ">
2183
+ <h3 class="signature " id="fontWidth-instance_method">
2184
+
2185
+ #<strong>fontWidth</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+ </h3><div class="docstring">
2192
+ <div class="discussion">
2193
+
2194
+ <p>Width of widest character in font [Integer]</p>
2195
+
2196
+
2197
+ </div>
2198
+ </div>
2199
+ <div class="tags">
2200
+
2201
+
2202
+ </div><table class="source_code">
2203
+ <tr>
2204
+ <td>
2205
+ <pre class="lines">
2206
+
2207
+
2208
+ 233
2209
+ 234
2210
+ 235</pre>
2211
+ </td>
2212
+ <td>
2213
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 233</span>
2214
+
2215
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontWidth'>fontWidth</span>
2216
+ <span class='ivar'>@fontWidth</span>
2217
+ <span class='kw'>end</span></pre>
2218
+ </td>
2219
+ </tr>
2220
+ </table>
2221
+ </div>
2222
+
2223
+
2224
+ <span id=""></span>
2225
+ <div class="method_details ">
2226
+ <h3 class="signature " id="foundry-instance_method">
2227
+
2228
+ #<strong>foundry</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2229
+
2230
+
2231
+
2232
+
2233
+
2234
+ </h3><div class="docstring">
2235
+ <div class="discussion">
2236
+
2237
+ <p>Foundry part of name [String]</p>
2238
+
2239
+
2240
+ </div>
2241
+ </div>
2242
+ <div class="tags">
2243
+
2244
+
2245
+ </div><table class="source_code">
2246
+ <tr>
2247
+ <td>
2248
+ <pre class="lines">
2249
+
2250
+
2251
+ 176
2252
+ 177
2253
+ 178</pre>
2254
+ </td>
2255
+ <td>
2256
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 176</span>
2257
+
2258
+ <span class='kw'>def</span> <span class='id identifier rubyid_foundry'>foundry</span>
2259
+ <span class='ivar'>@foundry</span>
2260
+ <span class='kw'>end</span></pre>
2261
+ </td>
2262
+ </tr>
2263
+ </table>
2264
+ </div>
2265
+
2266
+
2267
+ <span id=""></span>
2268
+ <div class="method_details ">
2269
+ <h3 class="signature " id="hints-instance_method">
2270
+
2271
+ #<strong>hints</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2272
+
2273
+
2274
+
2275
+
2276
+
2277
+ </h3><div class="docstring">
2278
+ <div class="discussion">
2279
+
2280
+ <p>Hints [Integer]</p>
2281
+
2282
+
2283
+ </div>
2284
+ </div>
2285
+ <div class="tags">
2286
+
2287
+
2288
+ </div><table class="source_code">
2289
+ <tr>
2290
+ <td>
2291
+ <pre class="lines">
2292
+
2293
+
2294
+ 215
2295
+ 216
2296
+ 217</pre>
2297
+ </td>
2298
+ <td>
2299
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 215</span>
2300
+
2301
+ <span class='kw'>def</span> <span class='id identifier rubyid_hints'>hints</span>
2302
+ <span class='ivar'>@hints</span>
2303
+ <span class='kw'>end</span></pre>
2304
+ </td>
2305
+ </tr>
2306
+ </table>
2307
+ </div>
2308
+
2309
+
2310
+ <span id=""></span>
2311
+ <div class="method_details ">
2312
+ <h3 class="signature " id="maxChar-instance_method">
2313
+
2314
+ #<strong>maxChar</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2315
+
2316
+
2317
+
2318
+
2319
+
2320
+ </h3><div class="docstring">
2321
+ <div class="discussion">
2322
+
2323
+ <p>Last character glyph in font [Integer]</p>
2324
+
2325
+
2326
+ </div>
2327
+ </div>
2328
+ <div class="tags">
2329
+
2330
+
2331
+ </div><table class="source_code">
2332
+ <tr>
2333
+ <td>
2334
+ <pre class="lines">
2335
+
2336
+
2337
+ 230
2338
+ 231
2339
+ 232</pre>
2340
+ </td>
2341
+ <td>
2342
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 230</span>
2343
+
2344
+ <span class='kw'>def</span> <span class='id identifier rubyid_maxChar'>maxChar</span>
2345
+ <span class='ivar'>@maxChar</span>
2346
+ <span class='kw'>end</span></pre>
2347
+ </td>
2348
+ </tr>
2349
+ </table>
2350
+ </div>
2351
+
2352
+
2353
+ <span id=""></span>
2354
+ <div class="method_details ">
2355
+ <h3 class="signature " id="name-instance_method">
2356
+
2357
+ #<strong>name</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2358
+
2359
+
2360
+
2361
+
2362
+
2363
+ </h3><div class="docstring">
2364
+ <div class="discussion">
2365
+
2366
+ <p>Font family name [String]</p>
2367
+
2368
+
2369
+ </div>
2370
+ </div>
2371
+ <div class="tags">
2372
+
2373
+
2374
+ </div><table class="source_code">
2375
+ <tr>
2376
+ <td>
2377
+ <pre class="lines">
2378
+
2379
+
2380
+ 179
2381
+ 180
2382
+ 181</pre>
2383
+ </td>
2384
+ <td>
2385
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 179</span>
2386
+
2387
+ <span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
2388
+ <span class='ivar'>@name</span>
2389
+ <span class='kw'>end</span></pre>
2390
+ </td>
2391
+ </tr>
2392
+ </table>
2393
+ </div>
2394
+
2395
+
2396
+ <span id=""></span>
2397
+ <div class="method_details ">
2398
+ <h3 class="signature " id="setWidth-instance_method">
2399
+
2400
+ #<strong>setWidth</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2401
+
2402
+
2403
+
2404
+
2405
+
2406
+ </h3><div class="docstring">
2407
+ <div class="discussion">
2408
+
2409
+ <p>Set width [Integer]</p>
2410
+
2411
+
2412
+ </div>
2413
+ </div>
2414
+ <div class="tags">
2415
+
2416
+
2417
+ </div><table class="source_code">
2418
+ <tr>
2419
+ <td>
2420
+ <pre class="lines">
2421
+
2422
+
2423
+ 209
2424
+ 210
2425
+ 211</pre>
2426
+ </td>
2427
+ <td>
2428
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 209</span>
2429
+
2430
+ <span class='kw'>def</span> <span class='id identifier rubyid_setWidth'>setWidth</span>
2431
+ <span class='ivar'>@setWidth</span>
2432
+ <span class='kw'>end</span></pre>
2433
+ </td>
2434
+ </tr>
2435
+ </table>
2436
+ </div>
2437
+
2438
+
2439
+ <span id=""></span>
2440
+ <div class="method_details ">
2441
+ <h3 class="signature " id="size-instance_method">
2442
+
2443
+ #<strong>size</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+ </h3><div class="docstring">
2450
+ <div class="discussion">
2451
+
2452
+ <p>Size in decipoints [Integer]</p>
2453
+
2454
+
2455
+ </div>
2456
+ </div>
2457
+ <div class="tags">
2458
+
2459
+
2460
+ </div><table class="source_code">
2461
+ <tr>
2462
+ <td>
2463
+ <pre class="lines">
2464
+
2465
+
2466
+ 185
2467
+ 186
2468
+ 187</pre>
2469
+ </td>
2470
+ <td>
2471
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 185</span>
2472
+
2473
+ <span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
2474
+ <span class='ivar'>@size</span>
2475
+ <span class='kw'>end</span></pre>
2476
+ </td>
2477
+ </tr>
2478
+ </table>
2479
+ </div>
2480
+
2481
+
2482
+ <span id=""></span>
2483
+ <div class="method_details ">
2484
+ <h3 class="signature " id="slant-instance_method">
2485
+
2486
+ #<strong>slant</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2487
+
2488
+
2489
+
2490
+
2491
+
2492
+ </h3><div class="docstring">
2493
+ <div class="discussion">
2494
+
2495
+ <p>Slant [Integer]</p>
2496
+
2497
+
2498
+ </div>
2499
+ </div>
2500
+ <div class="tags">
2501
+
2502
+
2503
+ </div><table class="source_code">
2504
+ <tr>
2505
+ <td>
2506
+ <pre class="lines">
2507
+
2508
+
2509
+ 197
2510
+ 198
2511
+ 199</pre>
2512
+ </td>
2513
+ <td>
2514
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 197</span>
2515
+
2516
+ <span class='kw'>def</span> <span class='id identifier rubyid_slant'>slant</span>
2517
+ <span class='ivar'>@slant</span>
2518
+ <span class='kw'>end</span></pre>
2519
+ </td>
2520
+ </tr>
2521
+ </table>
2522
+ </div>
2523
+
2524
+
2525
+ <span id=""></span>
2526
+ <div class="method_details ">
2527
+ <h3 class="signature " id="weight-instance_method">
2528
+
2529
+ #<strong>weight</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
2530
+
2531
+
2532
+
2533
+
2534
+
2535
+ </h3><div class="docstring">
2536
+ <div class="discussion">
2537
+
2538
+ <p>Font weight [Integer]</p>
2539
+
2540
+
2541
+ </div>
2542
+ </div>
2543
+ <div class="tags">
2544
+
2545
+
2546
+ </div><table class="source_code">
2547
+ <tr>
2548
+ <td>
2549
+ <pre class="lines">
2550
+
2551
+
2552
+ 191
2553
+ 192
2554
+ 193</pre>
2555
+ </td>
2556
+ <td>
2557
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 191</span>
2558
+
2559
+ <span class='kw'>def</span> <span class='id identifier rubyid_weight'>weight</span>
2560
+ <span class='ivar'>@weight</span>
2561
+ <span class='kw'>end</span></pre>
2562
+ </td>
2563
+ </tr>
2564
+ </table>
2565
+ </div>
2566
+
2567
+ </div>
2568
+
2569
+
2570
+ <div id="class_method_details" class="method_details_list">
2571
+ <h2>Class Method Details</h2>
2572
+
2573
+
2574
+ <div class="method_details first">
2575
+ <h3 class="signature first" id="listFonts-class_method">
2576
+
2577
+ .<strong>listFonts</strong>(face, weight = 0, slant = 0, setWidth = 0, encoding = 0, hints = 0) &#x21d2; <tt>Object</tt>
2578
+
2579
+
2580
+
2581
+
2582
+
2583
+ </h3><div class="docstring">
2584
+ <div class="discussion">
2585
+
2586
+ <p>List all fonts matching hints. Returns an array of FXFontDesc objects.</p>
2587
+
2588
+
2589
+ </div>
2590
+ </div>
2591
+ <div class="tags">
2592
+
2593
+
2594
+ </div><table class="source_code">
2595
+ <tr>
2596
+ <td>
2597
+ <pre class="lines">
2598
+
2599
+
2600
+ 357
2601
+ 358</pre>
2602
+ </td>
2603
+ <td>
2604
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 357</span>
2605
+
2606
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXFont (class)">FXFont</a></span></span><span class='period'>.</span><span class='id identifier rubyid_listFonts'>listFonts</span><span class='lparen'>(</span><span class='id identifier rubyid_face'>face</span><span class='comma'>,</span> <span class='id identifier rubyid_weight'>weight</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_slant'>slant</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_setWidth'>setWidth</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_encoding'>encoding</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_hints'>hints</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span>
2607
+ <span class='kw'>end</span></pre>
2608
+ </td>
2609
+ </tr>
2610
+ </table>
2611
+ </div>
2612
+
2613
+ </div>
2614
+
2615
+ <div id="instance_method_details" class="method_details_list">
2616
+ <h2>Instance Method Details</h2>
2617
+
2618
+
2619
+ <div class="method_details first">
2620
+ <h3 class="signature first" id="fontMono?-instance_method">
2621
+
2622
+ #<strong>fontMono?</strong> &#x21d2; <tt>Boolean</tt>
2623
+
2624
+
2625
+
2626
+
2627
+
2628
+ </h3><div class="docstring">
2629
+ <div class="discussion">
2630
+
2631
+ <p>Return <code>true</code> if font is monospaced.</p>
2632
+
2633
+
2634
+ </div>
2635
+ </div>
2636
+ <div class="tags">
2637
+
2638
+ <p class="tag_title">Returns:</p>
2639
+ <ul class="return">
2640
+
2641
+ <li>
2642
+
2643
+
2644
+ <span class='type'>(<tt>Boolean</tt>)</span>
2645
+
2646
+
2647
+
2648
+ </li>
2649
+
2650
+ </ul>
2651
+
2652
+ </div><table class="source_code">
2653
+ <tr>
2654
+ <td>
2655
+ <pre class="lines">
2656
+
2657
+
2658
+ 315</pre>
2659
+ </td>
2660
+ <td>
2661
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 315</span>
2662
+
2663
+ <span class='kw'>def</span> <span class='id identifier rubyid_fontMono?'>fontMono?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2664
+ </td>
2665
+ </tr>
2666
+ </table>
2667
+ </div>
2668
+
2669
+ <div class="method_details ">
2670
+ <h3 class="signature " id="getCharWidth-instance_method">
2671
+
2672
+ #<strong>getCharWidth</strong>(ch) &#x21d2; <tt>Object</tt>
2673
+
2674
+
2675
+
2676
+
2677
+
2678
+ </h3><div class="docstring">
2679
+ <div class="discussion">
2680
+
2681
+ <p>Calculate width of single wide character <em>ch</em> in this font</p>
2682
+
2683
+
2684
+ </div>
2685
+ </div>
2686
+ <div class="tags">
2687
+
2688
+
2689
+ </div><table class="source_code">
2690
+ <tr>
2691
+ <td>
2692
+ <pre class="lines">
2693
+
2694
+
2695
+ 342</pre>
2696
+ </td>
2697
+ <td>
2698
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 342</span>
2699
+
2700
+ <span class='kw'>def</span> <span class='id identifier rubyid_getCharWidth'>getCharWidth</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2701
+ </td>
2702
+ </tr>
2703
+ </table>
2704
+ </div>
2705
+
2706
+ <div class="method_details ">
2707
+ <h3 class="signature " id="getFont-instance_method">
2708
+
2709
+ #<strong>getFont</strong> &#x21d2; <tt>Object</tt>
2710
+
2711
+
2712
+
2713
+
2714
+
2715
+ </h3><div class="docstring">
2716
+ <div class="discussion">
2717
+
2718
+ <p>Return the font description as a string suitable for parsing with <span class='object_link'><a href="#setFont-instance_method" title="Fox::FXFont#setFont (method)">#setFont</a></span>, see above.</p>
2719
+
2720
+
2721
+ </div>
2722
+ </div>
2723
+ <div class="tags">
2724
+
2725
+
2726
+ </div><table class="source_code">
2727
+ <tr>
2728
+ <td>
2729
+ <pre class="lines">
2730
+
2731
+
2732
+ 310</pre>
2733
+ </td>
2734
+ <td>
2735
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 310</span>
2736
+
2737
+ <span class='kw'>def</span> <span class='id identifier rubyid_getFont'>getFont</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2738
+ </td>
2739
+ </tr>
2740
+ </table>
2741
+ </div>
2742
+
2743
+ <div class="method_details ">
2744
+ <h3 class="signature " id="getTextHeight-instance_method">
2745
+
2746
+ #<strong>getTextHeight</strong>(text) &#x21d2; <tt>Object</tt>
2747
+
2748
+
2749
+
2750
+
2751
+
2752
+ </h3><div class="docstring">
2753
+ <div class="discussion">
2754
+
2755
+ <p>Returns the height of given <em>text</em> in this font.</p>
2756
+
2757
+
2758
+ </div>
2759
+ </div>
2760
+ <div class="tags">
2761
+
2762
+
2763
+ </div><table class="source_code">
2764
+ <tr>
2765
+ <td>
2766
+ <pre class="lines">
2767
+
2768
+
2769
+ 352</pre>
2770
+ </td>
2771
+ <td>
2772
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 352</span>
2773
+
2774
+ <span class='kw'>def</span> <span class='id identifier rubyid_getTextHeight'>getTextHeight</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2775
+ </td>
2776
+ </tr>
2777
+ </table>
2778
+ </div>
2779
+
2780
+ <div class="method_details ">
2781
+ <h3 class="signature " id="getTextWidth-instance_method">
2782
+
2783
+ #<strong>getTextWidth</strong>(text) &#x21d2; <tt>Object</tt>
2784
+
2785
+
2786
+
2787
+
2788
+
2789
+ </h3><div class="docstring">
2790
+ <div class="discussion">
2791
+
2792
+ <p>Returns the width of given <em>text</em> in this font.</p>
2793
+
2794
+
2795
+ </div>
2796
+ </div>
2797
+ <div class="tags">
2798
+
2799
+
2800
+ </div><table class="source_code">
2801
+ <tr>
2802
+ <td>
2803
+ <pre class="lines">
2804
+
2805
+
2806
+ 347</pre>
2807
+ </td>
2808
+ <td>
2809
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 347</span>
2810
+
2811
+ <span class='kw'>def</span> <span class='id identifier rubyid_getTextWidth'>getTextWidth</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2812
+ </td>
2813
+ </tr>
2814
+ </table>
2815
+ </div>
2816
+
2817
+ <div class="method_details ">
2818
+ <h3 class="signature " id="hasChar?-instance_method">
2819
+
2820
+ #<strong>hasChar?</strong>(ch) &#x21d2; <tt>Boolean</tt>
2821
+
2822
+
2823
+
2824
+
2825
+
2826
+ </h3><div class="docstring">
2827
+ <div class="discussion">
2828
+
2829
+ <p>Return <code>true</code> if font has glyph for <em>ch</em>. Here, <em>ch</em> can either be an ordinal value, e.g.</p>
2830
+
2831
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_aFont'>aFont</span><span class='period'>.</span><span class='id identifier rubyid_hasChar?'>hasChar?</span><span class='lparen'>(</span><span class='CHAR'>?a</span><span class='rparen'>)</span>
2832
+ </code></pre>
2833
+
2834
+ <p>or a string of length one (i.e. a single character), e.g.</p>
2835
+
2836
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_aFont'>aFont</span><span class='period'>.</span><span class='id identifier rubyid_hasChar?'>hasChar?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>a</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
2837
+ </code></pre>
2838
+
2839
+
2840
+ </div>
2841
+ </div>
2842
+ <div class="tags">
2843
+
2844
+ <p class="tag_title">Returns:</p>
2845
+ <ul class="return">
2846
+
2847
+ <li>
2848
+
2849
+
2850
+ <span class='type'>(<tt>Boolean</tt>)</span>
2851
+
2852
+
2853
+
2854
+ </li>
2855
+
2856
+ </ul>
2857
+
2858
+ </div><table class="source_code">
2859
+ <tr>
2860
+ <td>
2861
+ <pre class="lines">
2862
+
2863
+
2864
+ 327</pre>
2865
+ </td>
2866
+ <td>
2867
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 327</span>
2868
+
2869
+ <span class='kw'>def</span> <span class='id identifier rubyid_hasChar?'>hasChar?</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2870
+ </td>
2871
+ </tr>
2872
+ </table>
2873
+ </div>
2874
+
2875
+ <div class="method_details ">
2876
+ <h3 class="signature " id="leftBearing-instance_method">
2877
+
2878
+ #<strong>leftBearing</strong>(ch) &#x21d2; <tt>Object</tt>
2879
+
2880
+
2881
+
2882
+
2883
+
2884
+ </h3><div class="docstring">
2885
+ <div class="discussion">
2886
+
2887
+ <p>Returns the left-side bearing (the distance from the origin to the leftmost pixel in the character) for <em>ch</em>.</p>
2888
+
2889
+
2890
+ </div>
2891
+ </div>
2892
+ <div class="tags">
2893
+
2894
+
2895
+ </div><table class="source_code">
2896
+ <tr>
2897
+ <td>
2898
+ <pre class="lines">
2899
+
2900
+
2901
+ 332</pre>
2902
+ </td>
2903
+ <td>
2904
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 332</span>
2905
+
2906
+ <span class='kw'>def</span> <span class='id identifier rubyid_leftBearing'>leftBearing</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2907
+ </td>
2908
+ </tr>
2909
+ </table>
2910
+ </div>
2911
+
2912
+ <div class="method_details ">
2913
+ <h3 class="signature " id="rightBearing-instance_method">
2914
+
2915
+ #<strong>rightBearing</strong>(ch) &#x21d2; <tt>Object</tt>
2916
+
2917
+
2918
+
2919
+
2920
+
2921
+ </h3><div class="docstring">
2922
+ <div class="discussion">
2923
+
2924
+ <p>Returns the right-side bearing (the distance from the origin to the rightmost pixel in the character) for <em>ch</em>.</p>
2925
+
2926
+
2927
+ </div>
2928
+ </div>
2929
+ <div class="tags">
2930
+
2931
+
2932
+ </div><table class="source_code">
2933
+ <tr>
2934
+ <td>
2935
+ <pre class="lines">
2936
+
2937
+
2938
+ 337</pre>
2939
+ </td>
2940
+ <td>
2941
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 337</span>
2942
+
2943
+ <span class='kw'>def</span> <span class='id identifier rubyid_rightBearing'>rightBearing</span><span class='lparen'>(</span><span class='id identifier rubyid_ch'>ch</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2944
+ </td>
2945
+ </tr>
2946
+ </table>
2947
+ </div>
2948
+
2949
+ <div class="method_details ">
2950
+ <h3 class="signature " id="setFont-instance_method">
2951
+
2952
+ #<strong>setFont</strong>(string) &#x21d2; <tt>Object</tt>
2953
+
2954
+
2955
+
2956
+
2957
+
2958
+ </h3><div class="docstring">
2959
+ <div class="discussion">
2960
+
2961
+ <p>Change the font to the specified font description string. Returns <code>true</code> on success.</p>
2962
+
2963
+
2964
+ </div>
2965
+ </div>
2966
+ <div class="tags">
2967
+
2968
+
2969
+ </div><table class="source_code">
2970
+ <tr>
2971
+ <td>
2972
+ <pre class="lines">
2973
+
2974
+
2975
+ 304</pre>
2976
+ </td>
2977
+ <td>
2978
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXFont.rb', line 304</span>
2979
+
2980
+ <span class='kw'>def</span> <span class='id identifier rubyid_setFont'>setFont</span><span class='lparen'>(</span><span class='id identifier rubyid_string'>string</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2981
+ </td>
2982
+ </tr>
2983
+ </table>
2984
+ </div>
2985
+
2986
+ </div>
2987
+
2988
+ </div>
2989
+
2990
+ <div id="footer">
2991
+ Generated on Fri Nov 27 21:10:36 2020 by
2992
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2993
+ 0.9.24 (ruby-2.7.2).
2994
+ </div>
2995
+
2996
+ </div>
2997
+ </body>
2998
+ </html>