MainUnit.lfm 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. object FormImage32Example: TFormImage32Example
  2. Left = 224
  3. Height = 418
  4. Top = 159
  5. Width = 542
  6. HorzScrollBar.Visible = False
  7. VertScrollBar.Visible = False
  8. Caption = 'TImage32 Example'
  9. ClientHeight = 418
  10. ClientWidth = 542
  11. Color = clBtnFace
  12. Font.Color = clWindowText
  13. Font.Height = -11
  14. Font.Name = 'Tahoma'
  15. OnCreate = FormCreate
  16. Position = poScreenCenter
  17. LCLVersion = '1.0.1.3'
  18. object PnlImage: TPanel
  19. Left = 8
  20. Height = 402
  21. Top = 8
  22. Width = 385
  23. Anchors = [akTop, akLeft, akRight, akBottom]
  24. BevelOuter = bvLowered
  25. BorderWidth = 1
  26. ClientHeight = 402
  27. ClientWidth = 385
  28. TabOrder = 0
  29. object Image: TImage32
  30. Left = 2
  31. Height = 398
  32. Top = 2
  33. Width = 381
  34. Align = alClient
  35. Bitmap.ResamplerClassName = 'TNearestResampler'
  36. BitmapAlign = baTopLeft
  37. Scale = 1
  38. ScaleMode = smNormal
  39. TabOrder = 0
  40. end
  41. end
  42. object PnlControl: TPanel
  43. Left = 400
  44. Height = 418
  45. Top = 0
  46. Width = 142
  47. Align = alRight
  48. BevelOuter = bvNone
  49. ClientHeight = 418
  50. ClientWidth = 142
  51. TabOrder = 1
  52. object RgpScaleMode: TRadioGroup
  53. Left = 8
  54. Height = 129
  55. Top = 104
  56. Width = 129
  57. AutoFill = True
  58. Caption = 'ScaleMode'
  59. ChildSizing.LeftRightSpacing = 6
  60. ChildSizing.TopBottomSpacing = 6
  61. ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
  62. ChildSizing.EnlargeVertical = crsHomogenousChildResize
  63. ChildSizing.ShrinkHorizontal = crsScaleChilds
  64. ChildSizing.ShrinkVertical = crsScaleChilds
  65. ChildSizing.Layout = cclLeftToRightThenTopToBottom
  66. ChildSizing.ControlsPerLine = 1
  67. ClientHeight = 111
  68. ClientWidth = 125
  69. ItemIndex = 0
  70. Items.Strings = (
  71. 'smNormal'
  72. 'smStretch'
  73. 'smScale'
  74. 'smResize'
  75. 'smOptimal'
  76. 'smOptimalScaled'
  77. )
  78. OnClick = RgpScaleModeClick
  79. TabOrder = 0
  80. end
  81. object RgpKernel: TRadioGroup
  82. Left = 8
  83. Height = 121
  84. Top = 288
  85. Width = 129
  86. AutoFill = True
  87. Caption = 'Kernels'
  88. ChildSizing.LeftRightSpacing = 6
  89. ChildSizing.TopBottomSpacing = 6
  90. ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
  91. ChildSizing.EnlargeVertical = crsHomogenousChildResize
  92. ChildSizing.ShrinkHorizontal = crsScaleChilds
  93. ChildSizing.ShrinkVertical = crsScaleChilds
  94. ChildSizing.Layout = cclLeftToRightThenTopToBottom
  95. ChildSizing.ControlsPerLine = 1
  96. ClientHeight = 103
  97. ClientWidth = 125
  98. ItemIndex = 0
  99. Items.Strings = (
  100. 'TBoxKernel'
  101. 'TLinearKernel'
  102. 'TSplineKernel'
  103. 'TLanczosKernel'
  104. 'TMitchellKernel'
  105. )
  106. OnClick = RgpKernelClick
  107. TabOrder = 1
  108. end
  109. object RgpBitmapAlign: TRadioGroup
  110. Left = 8
  111. Height = 89
  112. Top = 8
  113. Width = 129
  114. AutoFill = True
  115. Caption = 'BitmapAlign'
  116. ChildSizing.LeftRightSpacing = 6
  117. ChildSizing.TopBottomSpacing = 6
  118. ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
  119. ChildSizing.EnlargeVertical = crsHomogenousChildResize
  120. ChildSizing.ShrinkHorizontal = crsScaleChilds
  121. ChildSizing.ShrinkVertical = crsScaleChilds
  122. ChildSizing.Layout = cclLeftToRightThenTopToBottom
  123. ChildSizing.ControlsPerLine = 1
  124. ClientHeight = 71
  125. ClientWidth = 125
  126. ItemIndex = 0
  127. Items.Strings = (
  128. 'baTopLeft'
  129. 'baCenter'
  130. 'baTile'
  131. )
  132. OnClick = RgpBitmapAlignClick
  133. TabOrder = 2
  134. end
  135. object LblScale: TStaticText
  136. Left = 8
  137. Height = 17
  138. Top = 242
  139. Width = 33
  140. Caption = 'Scale:'
  141. TabOrder = 3
  142. end
  143. object SbrScale: TGaugeBar
  144. Left = 8
  145. Height = 16
  146. Top = 260
  147. Width = 129
  148. Color = clScrollBar
  149. Backgnd = bgPattern
  150. BorderStyle = bsNone
  151. Enabled = False
  152. Max = 1000
  153. Min = 25
  154. ShowHandleGrip = True
  155. Position = 100
  156. OnChange = SbrScaleChange
  157. end
  158. end
  159. end