fTextVPR.dfm 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. object MainForm: TMainForm
  2. Left = 220
  3. Top = 169
  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. OldCreateOrder = False
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. OnDestroy = FormDestroy
  17. OnResize = FormResize
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object PnlImage: TPanel
  21. Left = 341
  22. Top = 0
  23. Width = 434
  24. Height = 465
  25. Align = alClient
  26. BevelOuter = bvLowered
  27. BevelWidth = 2
  28. TabOrder = 0
  29. object Img: TImage32
  30. Left = 2
  31. Top = 2
  32. Width = 430
  33. Height = 461
  34. Align = alClient
  35. Bitmap.ResamplerClassName = 'TNearestResampler'
  36. BitmapAlign = baTopLeft
  37. Color = clWhite
  38. ParentColor = False
  39. Scale = 1.000000000000000000
  40. ScaleMode = smNormal
  41. TabOrder = 0
  42. OnClick = ImgClick
  43. OnMouseMove = ImgMouseMove
  44. end
  45. end
  46. object PnlControl: TPanel
  47. Left = 0
  48. Top = 0
  49. Width = 341
  50. Height = 465
  51. Align = alLeft
  52. BevelOuter = bvNone
  53. TabOrder = 1
  54. object GbxRendering: TGroupBox
  55. Left = 172
  56. Top = 8
  57. Width = 153
  58. Height = 446
  59. Caption = ' Rendering '
  60. TabOrder = 2
  61. object LblGamma: TLabel
  62. Left = 13
  63. Top = 141
  64. Width = 39
  65. Height = 13
  66. Caption = 'Gamma:'
  67. end
  68. object LblGammaValue: TLabel
  69. Left = 108
  70. Top = 141
  71. Width = 30
  72. Height = 13
  73. Alignment = taCenter
  74. Caption = '(1.00)'
  75. end
  76. object TbrGamma: TTrackBar
  77. Left = 5
  78. Top = 158
  79. Width = 141
  80. Height = 28
  81. Enabled = False
  82. Max = 3000
  83. Min = 30
  84. Frequency = 300
  85. Position = 1000
  86. TabOrder = 0
  87. ThumbLength = 18
  88. TickStyle = tsNone
  89. OnChange = TbrGammaChange
  90. end
  91. object RgxMethod: TRadioGroup
  92. Left = 12
  93. Top = 196
  94. Width = 128
  95. Height = 98
  96. Caption = ' Rendering Method '
  97. ItemIndex = 0
  98. Items.Strings = (
  99. 'Default'
  100. 'Cleartype'
  101. 'Cleartype (smooth)')
  102. TabOrder = 1
  103. OnClick = RgxMethodClick
  104. end
  105. object PnlZoom: TPanel
  106. Left = 12
  107. Top = 306
  108. Width = 128
  109. Height = 128
  110. BevelInner = bvLowered
  111. BorderWidth = 1
  112. Caption = ' Rendering '
  113. TabOrder = 2
  114. object PaintBox32: TPaintBox32
  115. Left = 3
  116. Top = 3
  117. Width = 122
  118. Height = 122
  119. Align = alClient
  120. TabOrder = 0
  121. end
  122. end
  123. object RgpHinting: TRadioGroup
  124. Left = 11
  125. Top = 26
  126. Width = 131
  127. Height = 92
  128. Caption = ' Hinting '
  129. ItemIndex = 0
  130. Items.Strings = (
  131. 'None'
  132. 'Hinting (No Horz)'
  133. 'Hinting')
  134. TabOrder = 3
  135. OnClick = RgpHintingClick
  136. end
  137. end
  138. object BtnExit: TButton
  139. Left = 8
  140. Top = 429
  141. Width = 153
  142. Height = 25
  143. Cancel = True
  144. Caption = 'E&xit'
  145. TabOrder = 3
  146. OnClick = BtnExitClick
  147. end
  148. object GBxFont: TGroupBox
  149. Left = 8
  150. Top = 8
  151. Width = 153
  152. Height = 105
  153. Caption = ' Font '
  154. TabOrder = 0
  155. object LblFontInfo: TLabel
  156. Left = 2
  157. Top = 25
  158. Width = 148
  159. Height = 30
  160. Alignment = taCenter
  161. AutoSize = False
  162. Caption = 'FontInfo'
  163. end
  164. object BtnSelectFont: TButton
  165. Left = 11
  166. Top = 62
  167. Width = 133
  168. Height = 25
  169. Caption = 'Select Font...'
  170. TabOrder = 0
  171. OnClick = BtnSelectFontClick
  172. end
  173. end
  174. object GbxLayout: TGroupBox
  175. Left = 8
  176. Top = 121
  177. Width = 155
  178. Height = 297
  179. Caption = ' Layout '
  180. TabOrder = 1
  181. object RgpHorzAlign: TRadioGroup
  182. Left = 11
  183. Top = 21
  184. Width = 131
  185. Height = 117
  186. Caption = ' Horizontal '
  187. ItemIndex = 0
  188. Items.Strings = (
  189. 'Left'
  190. 'Center'
  191. 'Right'
  192. 'Justified')
  193. TabOrder = 0
  194. OnClick = RgpHorzAlignClick
  195. end
  196. object RgpVerticalAlign: TRadioGroup
  197. Left = 11
  198. Top = 144
  199. Width = 131
  200. Height = 92
  201. Caption = ' Vertical '
  202. ItemIndex = 0
  203. Items.Strings = (
  204. 'Top'
  205. 'Center'
  206. 'Bottom')
  207. TabOrder = 1
  208. OnClick = RgpHorzAlignClick
  209. end
  210. object CbxSingleLine: TCheckBox
  211. Left = 11
  212. Top = 247
  213. Width = 97
  214. Height = 17
  215. Caption = 'Single line only'
  216. TabOrder = 2
  217. OnClick = RgpHorzAlignClick
  218. end
  219. object CbxWordbreak: TCheckBox
  220. Left = 11
  221. Top = 269
  222. Width = 97
  223. Height = 17
  224. Caption = 'Word break'
  225. Checked = True
  226. State = cbChecked
  227. TabOrder = 3
  228. OnClick = RgpHorzAlignClick
  229. end
  230. end
  231. end
  232. object StatusBar: TStatusBar
  233. Left = 0
  234. Top = 465
  235. Width = 775
  236. Height = 19
  237. Panels = <>
  238. SimplePanel = True
  239. SimpleText =
  240. ' Note: For the Gamma trackbar to work, the USEGR32GAMMA define ' +
  241. 'in GR32.inc must be enabled.'
  242. end
  243. object FontDialog: TFontDialog
  244. Font.Charset = DEFAULT_CHARSET
  245. Font.Color = clWindowText
  246. Font.Height = -11
  247. Font.Name = 'MS Sans Serif'
  248. Font.Style = []
  249. Options = [fdTrueTypeOnly, fdEffects]
  250. Left = 384
  251. Top = 48
  252. end
  253. end