MainUnit.dfm 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. object FormPolygons: TFormPolygons
  2. Left = 277
  3. Top = 106
  4. Caption = 'Polygons Example'
  5. ClientHeight = 527
  6. ClientWidth = 657
  7. Color = clBtnFace
  8. ParentFont = True
  9. OnCreate = FormCreate
  10. OnDestroy = FormDestroy
  11. TextHeight = 15
  12. object Image: TImage32
  13. Left = 0
  14. Top = 0
  15. Width = 512
  16. Height = 527
  17. Align = alClient
  18. Bitmap.ResamplerClassName = 'TKernelResampler'
  19. Bitmap.Resampler.KernelClassName = 'TCubicKernel'
  20. Bitmap.Resampler.Kernel.Coeff = -0.500000000000000000
  21. Bitmap.Resampler.KernelMode = kmDynamic
  22. Bitmap.Resampler.TableSize = 32
  23. BitmapAlign = baTopLeft
  24. Scale = 1.000000000000000000
  25. ScaleMode = smStretch
  26. TabOrder = 0
  27. OnMouseDown = ImageMouseDown
  28. OnResize = ImageResize
  29. end
  30. object PanelControl: TPanel
  31. Left = 512
  32. Top = 0
  33. Width = 145
  34. Height = 527
  35. Align = alRight
  36. BevelOuter = bvNone
  37. TabOrder = 1
  38. object LblLineOpacity: TLabel
  39. Left = 16
  40. Top = 47
  41. Width = 66
  42. Height = 15
  43. Caption = 'Line Opacity'
  44. end
  45. object LblFillOpacity: TLabel
  46. Left = 16
  47. Top = 87
  48. Width = 59
  49. Height = 15
  50. Caption = 'Fill Opacity'
  51. end
  52. object LabelOutlineThickness: TLabel
  53. Left = 16
  54. Top = 267
  55. Width = 72
  56. Height = 15
  57. Hint = 'Thickness: %.1n'
  58. Caption = 'Thickness: 0.0'
  59. end
  60. object LabelMiterLimit: TLabel
  61. Left = 16
  62. Top = 413
  63. Width = 82
  64. Height = 15
  65. Hint = 'Miter limit: %.2n'
  66. Caption = 'Miter limit: 0.00'
  67. end
  68. object LineAlpha: TTrackBar
  69. Left = 16
  70. Top = 63
  71. Width = 121
  72. Height = 16
  73. Max = 255
  74. PageSize = 0
  75. Position = 255
  76. ShowSelRange = False
  77. TabOrder = 0
  78. ThumbLength = 14
  79. TickMarks = tmBoth
  80. TickStyle = tsNone
  81. OnChange = LineAlphaChange
  82. end
  83. object FillAlpha: TTrackBar
  84. Left = 16
  85. Top = 103
  86. Width = 121
  87. Height = 16
  88. Max = 255
  89. PageSize = 0
  90. Position = 127
  91. ShowSelRange = False
  92. TabOrder = 1
  93. ThumbLength = 14
  94. TickMarks = tmBoth
  95. TickStyle = tsNone
  96. OnChange = FillAlphaChange
  97. end
  98. object RgpFillMode: TRadioGroup
  99. Left = 16
  100. Top = 126
  101. Width = 121
  102. Height = 65
  103. Caption = 'Fill Mode'
  104. ItemIndex = 0
  105. Items.Strings = (
  106. 'pfEvenOdd'
  107. 'pfNonZero')
  108. TabOrder = 2
  109. OnClick = FillModeChange
  110. end
  111. object BtnNewLine: TButton
  112. Left = 24
  113. Top = 8
  114. Width = 105
  115. Height = 25
  116. Caption = 'New Line'
  117. TabOrder = 3
  118. OnClick = BtnNewLineClick
  119. end
  120. object LineThickness: TTrackBar
  121. Left = 16
  122. Top = 284
  123. Width = 121
  124. Height = 16
  125. Max = 200
  126. Min = 1
  127. PageSize = 0
  128. Position = 10
  129. ShowSelRange = False
  130. TabOrder = 4
  131. ThumbLength = 14
  132. TickMarks = tmBoth
  133. TickStyle = tsNone
  134. OnChange = ThicknessChanged
  135. end
  136. object CbxThickOutline: TCheckBox
  137. Left = 16
  138. Top = 244
  139. Width = 121
  140. Height = 17
  141. Caption = 'Outline Enabled'
  142. TabOrder = 5
  143. OnClick = ThickOutlineChange
  144. end
  145. object MemoHint: TMemo
  146. Left = 16
  147. Top = 471
  148. Width = 121
  149. Height = 47
  150. TabStop = False
  151. Color = clInfoBk
  152. Font.Charset = DEFAULT_CHARSET
  153. Font.Color = clWindowText
  154. Font.Height = -9
  155. Font.Name = 'Tahoma'
  156. Font.Style = []
  157. Lines.Strings = (
  158. 'LMB - Add vertex'
  159. 'RMB - Clear')
  160. ParentFont = False
  161. ReadOnly = True
  162. TabOrder = 6
  163. end
  164. object CbxPattern: TCheckBox
  165. Left = 16
  166. Top = 197
  167. Width = 121
  168. Height = 17
  169. Caption = 'Pattern filling'
  170. TabOrder = 7
  171. OnClick = PatternFillingChange
  172. end
  173. object RgpJointMode: TRadioGroup
  174. Left = 16
  175. Top = 306
  176. Width = 121
  177. Height = 101
  178. Caption = 'Join Style'
  179. Enabled = False
  180. ItemIndex = 0
  181. Items.Strings = (
  182. 'jsMiter'
  183. 'jsBevel'
  184. 'jsRound'
  185. 'jsRoundEx'
  186. 'jsSquare')
  187. TabOrder = 8
  188. OnClick = JointModeChange
  189. end
  190. object MiterLimit: TTrackBar
  191. Left = 16
  192. Top = 432
  193. Width = 121
  194. Height = 16
  195. Max = 1000
  196. Min = 1
  197. PageSize = 0
  198. Position = 20
  199. ShowSelRange = False
  200. TabOrder = 9
  201. ThumbLength = 14
  202. TickMarks = tmBoth
  203. TickStyle = tsNone
  204. OnChange = MiterLimitChange
  205. end
  206. end
  207. object BitmapList: TBitmap32List
  208. Bitmaps = <
  209. item
  210. Bitmap.ResamplerClassName = 'TNearestResampler'
  211. end
  212. item
  213. Bitmap.ResamplerClassName = 'TNearestResampler'
  214. end>
  215. Left = 312
  216. Top = 328
  217. end
  218. end