MainUnit.dfm 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. object MainForm: TMainForm
  2. Left = 350
  3. Top = 156
  4. Caption = 'Graphics32 Text Rendering'
  5. ClientHeight = 484
  6. ClientWidth = 775
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. OnDestroy = FormDestroy
  16. OnResize = FormResize
  17. TextHeight = 13
  18. object PnlImage: TPanel
  19. Left = 341
  20. Top = 0
  21. Width = 434
  22. Height = 461
  23. Align = alClient
  24. BevelOuter = bvLowered
  25. BevelWidth = 2
  26. ParentBackground = False
  27. TabOrder = 0
  28. object Img: TImage32
  29. Left = 2
  30. Top = 2
  31. Width = 430
  32. Height = 457
  33. Align = alClient
  34. Bitmap.ResamplerClassName = 'TNearestResampler'
  35. BitmapAlign = baTopLeft
  36. Color = clWhite
  37. ParentColor = False
  38. Scale = 1.000000000000000000
  39. ScaleMode = smNormal
  40. TabOrder = 0
  41. OnClick = ImgClick
  42. OnMouseMove = ImgMouseMove
  43. end
  44. end
  45. object PnlControl: TPanel
  46. Left = 0
  47. Top = 0
  48. Width = 341
  49. Height = 461
  50. Align = alLeft
  51. BevelOuter = bvNone
  52. ParentBackground = False
  53. TabOrder = 1
  54. object GroupBoxRendering: TGroupBox
  55. Left = 157
  56. Top = 0
  57. Width = 184
  58. Height = 461
  59. Align = alClient
  60. Caption = ' Rendering '
  61. ParentBackground = False
  62. TabOrder = 0
  63. object RadioGroupMethod: TRadioGroup
  64. Left = 0
  65. Top = 177
  66. Width = 180
  67. Height = 98
  68. Align = alTop
  69. Caption = ' Rendering Method '
  70. ItemIndex = 0
  71. Items.Strings = (
  72. 'Default'
  73. 'Cleartype'
  74. 'Cleartype (smooth)')
  75. ParentBackground = False
  76. TabOrder = 0
  77. OnClick = RadioGroupMethodClick
  78. end
  79. object PnlZoom: TPanel
  80. Left = 0
  81. Top = 275
  82. Width = 180
  83. Height = 168
  84. Align = alClient
  85. BevelInner = bvLowered
  86. BorderWidth = 1
  87. Caption = ' Rendering '
  88. ParentBackground = False
  89. TabOrder = 1
  90. object PaintBox32: TPaintBox32
  91. Left = 3
  92. Top = 3
  93. Width = 174
  94. Height = 162
  95. Align = alClient
  96. TabOrder = 0
  97. end
  98. end
  99. object RadioGroupHinting: TRadioGroup
  100. Left = 0
  101. Top = 0
  102. Width = 180
  103. Height = 92
  104. Align = alTop
  105. Caption = ' Hinting '
  106. ItemIndex = 0
  107. Items.Strings = (
  108. 'None'
  109. 'Hinting (No Horz)'
  110. 'Hinting')
  111. ParentBackground = False
  112. TabOrder = 2
  113. OnClick = RadioGroupHintingClick
  114. end
  115. object GroupBoxGamma: TGroupBox
  116. Left = 0
  117. Top = 92
  118. Width = 180
  119. Height = 85
  120. Align = alTop
  121. Caption = 'Gamma'
  122. ParentBackground = False
  123. TabOrder = 3
  124. DesignSize = (
  125. 180
  126. 85)
  127. object LblGamma: TLabel
  128. Left = 7
  129. Top = 20
  130. Width = 39
  131. Height = 13
  132. Caption = 'Gamma:'
  133. end
  134. object LblGammaValue: TLabel
  135. Left = 52
  136. Top = 20
  137. Width = 30
  138. Height = 13
  139. Caption = '(1.00)'
  140. end
  141. object TbrGamma: TTrackBar
  142. Left = 1
  143. Top = 39
  144. Width = 173
  145. Height = 28
  146. Anchors = [akLeft, akTop, akRight]
  147. Max = 3000
  148. Min = 30
  149. Frequency = 300
  150. Position = 1000
  151. TabOrder = 0
  152. TickMarks = tmBoth
  153. TickStyle = tsNone
  154. OnChange = TbrGammaChange
  155. end
  156. end
  157. end
  158. object PanelLeft: TPanel
  159. Left = 0
  160. Top = 0
  161. Width = 157
  162. Height = 461
  163. Align = alLeft
  164. BevelOuter = bvNone
  165. ParentBackground = False
  166. TabOrder = 1
  167. object GroupBoxFont: TGroupBox
  168. Left = 0
  169. Top = 0
  170. Width = 157
  171. Height = 85
  172. Align = alTop
  173. Caption = ' Font '
  174. ParentBackground = False
  175. TabOrder = 0
  176. object LblFontInfo: TLabel
  177. Left = 0
  178. Top = 0
  179. Width = 153
  180. Height = 30
  181. Align = alTop
  182. Alignment = taCenter
  183. AutoSize = False
  184. Caption = 'FontInfo'
  185. ShowAccelChar = False
  186. end
  187. object ButtonSelectFont: TButton
  188. Left = 0
  189. Top = 30
  190. Width = 153
  191. Height = 25
  192. Align = alTop
  193. Caption = 'Select Font...'
  194. TabOrder = 0
  195. OnClick = ButtonSelectFontClick
  196. end
  197. end
  198. object GroupBoxLayout: TGroupBox
  199. Left = 0
  200. Top = 85
  201. Width = 157
  202. Height = 351
  203. Align = alClient
  204. Caption = ' Layout '
  205. ParentBackground = False
  206. TabOrder = 1
  207. object RadioGroupHorizontalAlign: TRadioGroup
  208. Left = 0
  209. Top = 0
  210. Width = 153
  211. Height = 117
  212. Align = alTop
  213. Caption = ' Horizontal '
  214. ItemIndex = 0
  215. Items.Strings = (
  216. 'Left'
  217. 'Center'
  218. 'Right'
  219. 'Justified')
  220. ParentBackground = False
  221. TabOrder = 0
  222. OnClick = RadioGroupHorizontalAlignClick
  223. end
  224. object RadioGroupVerticalAlign: TRadioGroup
  225. Left = 0
  226. Top = 117
  227. Width = 153
  228. Height = 92
  229. Align = alTop
  230. Caption = ' Vertical '
  231. ItemIndex = 0
  232. Items.Strings = (
  233. 'Top'
  234. 'Center'
  235. 'Bottom')
  236. ParentBackground = False
  237. TabOrder = 1
  238. OnClick = RadioGroupHorizontalAlignClick
  239. end
  240. object CheckBoxSingleLine: TCheckBox
  241. Left = 0
  242. Top = 209
  243. Width = 153
  244. Height = 17
  245. Align = alTop
  246. Caption = 'Single line only'
  247. TabOrder = 2
  248. OnClick = RadioGroupHorizontalAlignClick
  249. end
  250. object CheckBoxWordbreak: TCheckBox
  251. Left = 0
  252. Top = 226
  253. Width = 153
  254. Height = 17
  255. Align = alTop
  256. Caption = 'Word break'
  257. Checked = True
  258. State = cbChecked
  259. TabOrder = 3
  260. OnClick = RadioGroupHorizontalAlignClick
  261. end
  262. end
  263. object ButtonExit: TButton
  264. Left = 0
  265. Top = 436
  266. Width = 157
  267. Height = 25
  268. Align = alBottom
  269. Cancel = True
  270. Caption = 'E&xit'
  271. TabOrder = 2
  272. OnClick = ButtonExitClick
  273. end
  274. end
  275. end
  276. object StatusBar: TStatusBar
  277. Left = 0
  278. Top = 461
  279. Width = 775
  280. Height = 23
  281. Panels = <>
  282. SimpleText = ' Note: The Gamma trackbar currently does nothing.'
  283. end
  284. object FontDialog: TFontDialog
  285. Font.Charset = DEFAULT_CHARSET
  286. Font.Color = clWindowText
  287. Font.Height = -11
  288. Font.Name = 'MS Sans Serif'
  289. Font.Style = []
  290. Options = [fdTrueTypeOnly, fdEffects]
  291. Left = 384
  292. Top = 48
  293. end
  294. end