MainUnit.dfm 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. object FrmResamplersExample: TFrmResamplersExample
  2. Left = 270
  3. Top = 228
  4. Caption = 'Resamplers Example'
  5. ClientHeight = 395
  6. ClientWidth = 475
  7. Color = clBtnFace
  8. Constraints.MinHeight = 200
  9. Constraints.MinWidth = 200
  10. Font.Charset = DEFAULT_CHARSET
  11. Font.Color = clWindowText
  12. Font.Height = -11
  13. Font.Name = 'Tahoma'
  14. Font.Style = []
  15. OnClose = FormClose
  16. OnCreate = FormCreate
  17. TextHeight = 13
  18. object SidePanel: TPanel
  19. Left = 329
  20. Top = 0
  21. Width = 146
  22. Height = 376
  23. Align = alRight
  24. BevelOuter = bvNone
  25. TabOrder = 1
  26. object PnlResampler: TPanel
  27. Left = 0
  28. Top = 0
  29. Width = 146
  30. Height = 160
  31. Align = alTop
  32. TabOrder = 0
  33. DesignSize = (
  34. 146
  35. 160)
  36. object LblResamplersClass: TLabel
  37. Left = 12
  38. Top = 24
  39. Width = 82
  40. Height = 13
  41. Anchors = [akTop, akRight]
  42. Caption = 'Resampler Class:'
  43. end
  44. object LblPixelAccessMode: TLabel
  45. Left = 12
  46. Top = 67
  47. Width = 91
  48. Height = 13
  49. Anchors = [akTop, akRight]
  50. Caption = 'Pixel Access Mode:'
  51. end
  52. object LblWrapMode: TLabel
  53. Left = 12
  54. Top = 110
  55. Width = 59
  56. Height = 13
  57. Anchors = [akTop, akRight]
  58. Caption = 'Wrap Mode:'
  59. end
  60. object PnlResamplerProperties: TPanel
  61. Left = 1
  62. Top = 1
  63. Width = 144
  64. Height = 16
  65. Align = alTop
  66. BevelOuter = bvNone
  67. Caption = 'Resampler Properties'
  68. Color = clBtnShadow
  69. Font.Charset = DEFAULT_CHARSET
  70. Font.Color = clWindow
  71. Font.Height = -11
  72. Font.Name = 'Tahoma'
  73. Font.Style = []
  74. ParentFont = False
  75. TabOrder = 0
  76. end
  77. object ResamplerClassNamesList: TComboBox
  78. Left = 16
  79. Top = 40
  80. Width = 119
  81. Height = 21
  82. Style = csDropDownList
  83. Anchors = [akTop, akRight]
  84. TabOrder = 1
  85. OnChange = ResamplerClassNamesListChange
  86. end
  87. object EdgecheckBox: TComboBox
  88. Left = 16
  89. Top = 83
  90. Width = 119
  91. Height = 21
  92. Style = csDropDownList
  93. Anchors = [akTop, akRight]
  94. TabOrder = 2
  95. OnChange = EdgecheckBoxChange
  96. Items.Strings = (
  97. 'Unsafe'
  98. 'Safe'
  99. 'Wrap')
  100. end
  101. object WrapBox: TComboBox
  102. Left = 16
  103. Top = 126
  104. Width = 119
  105. Height = 21
  106. Style = csDropDownList
  107. Anchors = [akTop, akRight]
  108. TabOrder = 3
  109. OnChange = EdgecheckBoxChange
  110. Items.Strings = (
  111. 'Clamp'
  112. 'Repeat'
  113. 'Mirror')
  114. end
  115. end
  116. object PnlKernel: TPanel
  117. Left = 0
  118. Top = 160
  119. Width = 146
  120. Height = 201
  121. Align = alTop
  122. TabOrder = 1
  123. Visible = False
  124. DesignSize = (
  125. 146
  126. 201)
  127. object LblKernelClass: TLabel
  128. Left = 12
  129. Top = 24
  130. Width = 62
  131. Height = 13
  132. Anchors = [akTop, akRight]
  133. Caption = 'Kernel Class:'
  134. end
  135. object LblKernelMode: TLabel
  136. Left = 12
  137. Top = 67
  138. Width = 63
  139. Height = 13
  140. Anchors = [akTop, akRight]
  141. Caption = 'Kernel Mode:'
  142. end
  143. object LblTableSize: TLabel
  144. Left = 8
  145. Top = 116
  146. Width = 97
  147. Height = 13
  148. Caption = 'Table Size (32/100):'
  149. end
  150. object LblParameter: TLabel
  151. Left = 8
  152. Top = 155
  153. Width = 54
  154. Height = 13
  155. Caption = 'Parameter:'
  156. Visible = False
  157. end
  158. object PnlKernelProperties: TPanel
  159. Left = 1
  160. Top = 1
  161. Width = 144
  162. Height = 16
  163. Align = alTop
  164. BevelOuter = bvNone
  165. Caption = 'Kernel Properties'
  166. Color = clBtnShadow
  167. Font.Charset = DEFAULT_CHARSET
  168. Font.Color = clWindow
  169. Font.Height = -11
  170. Font.Name = 'Tahoma'
  171. Font.Style = []
  172. ParentFont = False
  173. TabOrder = 0
  174. end
  175. object KernelClassNamesList: TComboBox
  176. Left = 16
  177. Top = 40
  178. Width = 119
  179. Height = 21
  180. Style = csDropDownList
  181. Anchors = [akTop, akRight]
  182. TabOrder = 1
  183. OnChange = KernelClassNamesListClick
  184. end
  185. object KernelModeList: TComboBox
  186. Left = 16
  187. Top = 83
  188. Width = 119
  189. Height = 21
  190. Style = csDropDownList
  191. Anchors = [akTop, akRight]
  192. TabOrder = 2
  193. OnChange = KernelModeListChange
  194. Items.Strings = (
  195. 'Default (precise, slow)'
  196. 'Table Nearest (truncated, fastest)'
  197. 'Table Linear (interpolated, fast)')
  198. end
  199. object GbrTableSize: TGaugeBar
  200. Left = 16
  201. Top = 136
  202. Width = 113
  203. Height = 12
  204. Backgnd = bgPattern
  205. HandleSize = 16
  206. Min = 1
  207. ShowArrows = False
  208. ShowHandleGrip = True
  209. Style = rbsMac
  210. Position = 32
  211. OnChange = GbrTableSizeChange
  212. end
  213. object GbrParameter: TGaugeBar
  214. Left = 16
  215. Top = 175
  216. Width = 113
  217. Height = 12
  218. Backgnd = bgPattern
  219. HandleSize = 16
  220. Min = 1
  221. ShowArrows = False
  222. ShowHandleGrip = True
  223. Style = rbsMac
  224. Visible = False
  225. Position = 50
  226. OnChange = GbrParameterChange
  227. OnMouseUp = GbrParameterMouseUp
  228. end
  229. end
  230. end
  231. object PageControl: TPageControl
  232. Left = 0
  233. Top = 0
  234. Width = 329
  235. Height = 376
  236. ActivePage = TabDetails
  237. Align = alClient
  238. TabOrder = 0
  239. OnChange = ResamplerClassNamesListChange
  240. object TabDetails: TTabSheet
  241. Caption = 'Details'
  242. object DstImg: TImage32
  243. Left = 0
  244. Top = 0
  245. Width = 321
  246. Height = 348
  247. Align = alClient
  248. Bitmap.ResamplerClassName = 'TKernelResampler'
  249. Bitmap.Resampler.KernelClassName = 'TCosineKernel'
  250. Bitmap.Resampler.KernelMode = kmTableLinear
  251. Bitmap.Resampler.TableSize = 32
  252. BitmapAlign = baTopLeft
  253. RepaintMode = rmOptimizer
  254. Scale = 1.000000000000000000
  255. ScaleMode = smStretch
  256. TabOrder = 0
  257. OnResize = DstImgResize
  258. end
  259. end
  260. object TabResampling: TTabSheet
  261. Caption = 'Resampling'
  262. ImageIndex = 1
  263. object ResamplingPaintBox: TPaintBox32
  264. Left = 0
  265. Top = 0
  266. Width = 321
  267. Height = 348
  268. Align = alClient
  269. RepaintMode = rmOptimizer
  270. TabOrder = 0
  271. OnResize = ResamplingPaintBoxResize
  272. end
  273. end
  274. object TabKernel: TTabSheet
  275. Caption = 'Curve'
  276. ImageIndex = 2
  277. TabVisible = False
  278. object CurveImage: TImage32
  279. Left = 0
  280. Top = 0
  281. Width = 321
  282. Height = 348
  283. Align = alClient
  284. Bitmap.ResamplerClassName = 'TNearestResampler'
  285. BitmapAlign = baTopLeft
  286. Scale = 1.000000000000000000
  287. ScaleMode = smNormal
  288. TabOrder = 0
  289. OnPaintStage = CurveImagePaintStage
  290. end
  291. end
  292. end
  293. object StatusBar: TStatusBar
  294. Left = 0
  295. Top = 376
  296. Width = 475
  297. Height = 19
  298. Panels = <
  299. item
  300. Width = 50
  301. end>
  302. end
  303. end