UnitMain.dfm 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. object FormMain: TFormMain
  2. Left = 0
  3. Top = 0
  4. Caption =
  5. 'Perspective Correction example - Forward Projective Transformati' +
  6. 'on'
  7. ClientHeight = 541
  8. ClientWidth = 1103
  9. Color = clBtnFace
  10. Font.Charset = DEFAULT_CHARSET
  11. Font.Color = clWindowText
  12. Font.Height = -12
  13. Font.Name = 'Segoe UI'
  14. Font.Style = []
  15. OnResize = FormResize
  16. OnShow = FormShow
  17. TextHeight = 15
  18. object Panel1: TPanel
  19. Left = 0
  20. Top = 500
  21. Width = 1103
  22. Height = 41
  23. Align = alBottom
  24. BevelEdges = [beTop]
  25. BevelKind = bkFlat
  26. BevelOuter = bvNone
  27. ShowCaption = False
  28. TabOrder = 0
  29. object LabelStats: TLabel
  30. AlignWithMargins = True
  31. Left = 760
  32. Top = 0
  33. Width = 327
  34. Height = 39
  35. Margins.Left = 0
  36. Margins.Top = 0
  37. Margins.Right = 16
  38. Margins.Bottom = 0
  39. Align = alRight
  40. Alignment = taRightJustify
  41. AutoSize = False
  42. Caption = '-'
  43. ShowAccelChar = False
  44. Layout = tlCenter
  45. ExplicitLeft = 776
  46. end
  47. object Label1: TLabel
  48. Left = 412
  49. Top = 12
  50. Width = 53
  51. Height = 15
  52. Caption = 'Rasterizer:'
  53. end
  54. object CheckBoxLive: TCheckBox
  55. Left = 188
  56. Top = 12
  57. Width = 97
  58. Height = 17
  59. AllowGrayed = True
  60. Caption = 'Live update'
  61. TabOrder = 0
  62. OnClick = CheckBoxLiveClick
  63. end
  64. object ButtonApply: TButton
  65. Left = 100
  66. Top = 8
  67. Width = 75
  68. Height = 25
  69. Caption = 'Rasterize'
  70. TabOrder = 2
  71. OnClick = ButtonApplyClick
  72. end
  73. object CheckBoxExtrapolate: TCheckBox
  74. Left = 296
  75. Top = 12
  76. Width = 97
  77. Height = 17
  78. Caption = 'Extrapolate'
  79. Checked = True
  80. State = cbChecked
  81. TabOrder = 3
  82. OnClick = CheckBoxExtrapolateClick
  83. end
  84. object ButtonReset: TButton
  85. Left = 12
  86. Top = 8
  87. Width = 75
  88. Height = 25
  89. Caption = 'Reset'
  90. TabOrder = 1
  91. OnClick = ButtonResetClick
  92. end
  93. object ComboBoxRasterizer: TComboBox
  94. Left = 471
  95. Top = 9
  96. Width = 145
  97. Height = 23
  98. AutoDropDownWidth = True
  99. Style = csDropDownList
  100. TabOrder = 4
  101. OnChange = ComboBoxRasterizerChange
  102. end
  103. object CheckBoxLiveDraft: TCheckBox
  104. Left = 636
  105. Top = 12
  106. Width = 225
  107. Height = 17
  108. Caption = 'Use draft rasterizer during live update'
  109. TabOrder = 5
  110. end
  111. end
  112. object ImageSource: TImage32
  113. AlignWithMargins = True
  114. Left = 0
  115. Top = 0
  116. Width = 277
  117. Height = 500
  118. Margins.Left = 0
  119. Margins.Top = 0
  120. Margins.Right = 2
  121. Margins.Bottom = 0
  122. Align = alLeft
  123. Bitmap.DrawMode = dmBlend
  124. Bitmap.ResamplerClassName = 'TNearestResampler'
  125. BitmapAlign = baCustom
  126. RepaintMode = rmOptimizer
  127. Scale = 1.000000000000000000
  128. ScaleMode = smScale
  129. Background.CheckersStyle = bcsLight
  130. Background.FillStyle = bfsCheckers
  131. MousePan.Enabled = True
  132. MouseZoom.Enabled = True
  133. MouseZoom.Animate = True
  134. TabOrder = 1
  135. TabStop = True
  136. end
  137. object ImageDest: TImage32
  138. AlignWithMargins = True
  139. Left = 281
  140. Top = 0
  141. Width = 822
  142. Height = 500
  143. Margins.Left = 2
  144. Margins.Top = 0
  145. Margins.Right = 0
  146. Margins.Bottom = 0
  147. Align = alClient
  148. Bitmap.DrawMode = dmBlend
  149. Bitmap.ResamplerClassName = 'TNearestResampler'
  150. BitmapAlign = baCustom
  151. RepaintMode = rmOptimizer
  152. Scale = 1.000000000000000000
  153. ScaleMode = smScale
  154. Background.InnerBorderWidth = 1
  155. Background.CheckersStyle = bcsLight
  156. Background.FillStyle = bfsCheckers
  157. MousePan.Enabled = True
  158. MouseZoom.Enabled = True
  159. MouseZoom.Animate = True
  160. TabOrder = 2
  161. TabStop = True
  162. end
  163. object TimerMarchingAnts: TTimer
  164. Interval = 50
  165. OnTimer = TimerMarchingAntsTimer
  166. Left = 544
  167. Top = 276
  168. end
  169. object TimerUpdate: TTimer
  170. Enabled = False
  171. Interval = 50
  172. OnTimer = TimerUpdateTimer
  173. Left = 544
  174. Top = 336
  175. end
  176. object TimerDraft: TTimer
  177. Enabled = False
  178. Interval = 200
  179. OnTimer = TimerDraftTimer
  180. Left = 544
  181. Top = 388
  182. end
  183. end