123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595 |
- object FormTranformExample: TFormTranformExample
- Left = 582
- Height = 529
- Top = 275
- Width = 619
- BorderStyle = bsDialog
- Caption = 'Transform Demo'
- ClientHeight = 529
- ClientWidth = 619
- Color = clBtnFace
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- OnCreate = FormCreate
- OnDestroy = FormDestroy
- LCLVersion = '1.1'
- object PageControl: TPageControl
- Left = 0
- Height = 265
- Top = 264
- Width = 617
- ActivePage = TstAffine
- TabIndex = 0
- TabOrder = 2
- OnChange = PageControlChange
- object TstAffine: TTabSheet
- Caption = 'Affine'
- ClientHeight = 239
- ClientWidth = 609
- object LblCodeString: TLabel
- Left = 8
- Height = 13
- Top = 212
- Width = 59
- Caption = 'Code string:'
- ParentColor = False
- end
- object LblTransformationMatrix: TLabel
- Left = 443
- Height = 13
- Top = 96
- Width = 110
- Caption = 'Transformation matrix:'
- ParentColor = False
- end
- object LblResampler: TLabel
- Left = 405
- Height = 13
- Top = 8
- Width = 78
- Anchors = [akTop, akRight]
- Caption = 'Resampler Class'
- ParentColor = False
- end
- object LblKernel: TLabel
- Left = 405
- Height = 13
- Top = 48
- Width = 96
- Anchors = [akTop, akRight]
- Caption = 'Kernel Class (if any)'
- ParentColor = False
- Visible = False
- end
- object PnlTransformationMatrix: TPanel
- Left = 445
- Height = 73
- Top = 112
- Width = 105
- BevelOuter = bvNone
- ClientHeight = 73
- ClientWidth = 105
- TabOrder = 0
- object Shape1: TShape
- Left = 0
- Height = 73
- Top = 0
- Width = 9
- Align = alLeft
- Brush.Style = bsClear
- end
- object Shape2: TShape
- Left = 96
- Height = 73
- Top = 0
- Width = 9
- Align = alRight
- Brush.Style = bsClear
- end
- object StringGrid: TStringGrid
- Left = 8
- Height = 71
- Top = 1
- Width = 93
- Anchors = [akTop, akLeft, akRight, akBottom]
- BorderStyle = bsNone
- ColCount = 4
- DefaultColWidth = 37
- DefaultRowHeight = 26
- Enabled = False
- FixedCols = 0
- FixedRows = 0
- Options = []
- ParentColor = True
- RowCount = 3
- ScrollBars = ssNone
- TabOrder = 0
- TitleFont.Color = clWindowText
- TitleFont.Height = -11
- TitleFont.Name = 'Tahoma'
- end
- end
- object ListBox: TListBox
- Left = 8
- Height = 161
- Top = 8
- Width = 72
- BorderStyle = bsNone
- Items.Strings = (
- 'Operation 1'
- 'Operation 2'
- 'Operation 3'
- 'Operation 4'
- 'Operation 5'
- 'Operation 6'
- 'Operation 7'
- 'Operation 8'
- )
- ItemHeight = 20
- OnClick = ListBoxClick
- ParentColor = True
- Style = lbOwnerDrawFixed
- TabOrder = 1
- end
- object BtnClearAll: TButton
- Left = 8
- Height = 23
- Top = 178
- Width = 65
- Caption = 'Clear All'
- OnClick = BtnClearAllClick
- TabOrder = 2
- end
- object EdtCodeString: TEdit
- Left = 80
- Height = 21
- Top = 208
- Width = 521
- ReadOnly = True
- TabOrder = 3
- Text = 'Clear;'
- end
- object PnlOperation: TPanel
- Left = 80
- Height = 193
- Top = 8
- Width = 321
- ClientHeight = 193
- ClientWidth = 321
- TabOrder = 4
- object LblType: TLabel
- Left = 8
- Height = 13
- Top = 11
- Width = 28
- Caption = 'Type:'
- ParentColor = False
- end
- object ComboBox: TComboBox
- Left = 48
- Height = 21
- Top = 8
- Width = 265
- ItemHeight = 13
- Items.Strings = (
- 'None'
- 'Translate'
- 'Scale'
- 'Rotate'
- 'Skew'
- )
- OnChange = ComboBoxChange
- Style = csDropDownList
- TabOrder = 0
- end
- object Notebook: TNotebook
- Left = 8
- Height = 145
- Top = 40
- Width = 305
- PageIndex = 0
- TabOrder = 1
- TabStop = True
- object PageNone: TPage
- object LblNoOperation: TLabel
- Left = 16
- Height = 26
- Top = 16
- Width = 235
- Caption = 'No type is specified for this operation.'#13#10'Select operation type from the combo box above'
- ParentColor = False
- end
- end
- object PageTranslate: TPage
- object LblInfoTranslate: TLabel
- Left = 8
- Height = 26
- Top = 8
- Width = 195
- Caption = 'method declaration:'#13#10'procedure Translate(Dx, Dy: Extended);'
- ParentColor = False
- end
- object LblDx: TLabel
- Left = 16
- Height = 13
- Top = 59
- Width = 17
- Caption = 'Dx:'
- ParentColor = False
- end
- object LblDy: TLabel
- Left = 16
- Height = 13
- Top = 91
- Width = 17
- Caption = 'Dy:'
- ParentColor = False
- end
- object EdtDx: TEdit
- Left = 48
- Height = 21
- Top = 56
- Width = 57
- OnChange = TranslationChanged
- TabOrder = 0
- Text = '0'
- end
- object EdtDy: TEdit
- Left = 48
- Height = 21
- Top = 88
- Width = 57
- OnChange = TranslationChanged
- TabOrder = 1
- Text = '0'
- end
- object GbrDx: TGaugeBar
- Left = 120
- Height = 16
- Top = 58
- Width = 173
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 1000
- Min = -1000
- ShowHandleGrip = True
- Position = 0
- OnUserChange = TranslationScrolled
- end
- object GbrDy: TGaugeBar
- Left = 120
- Height = 16
- Top = 90
- Width = 173
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 1000
- Min = -1000
- ShowHandleGrip = True
- Position = 0
- OnUserChange = TranslationScrolled
- end
- end
- object PageScale: TPage
- object LblSy: TLabel
- Left = 16
- Height = 13
- Top = 91
- Width = 16
- Caption = 'Sy:'
- ParentColor = False
- end
- object LblSx: TLabel
- Left = 16
- Height = 13
- Top = 59
- Width = 16
- Caption = 'Sx:'
- ParentColor = False
- end
- object LblScale: TLabel
- Left = 8
- Height = 26
- Top = 8
- Width = 173
- Caption = 'method declaration:'#13#10'procedure Scale(Sx, Sy: Extended);'
- ParentColor = False
- end
- object EdtSy: TEdit
- Left = 48
- Height = 21
- Top = 88
- Width = 57
- OnChange = ScaleChanged
- TabOrder = 0
- Text = '0'
- end
- object EdtSx: TEdit
- Left = 48
- Height = 21
- Top = 56
- Width = 57
- OnChange = ScaleChanged
- TabOrder = 1
- Text = '0'
- end
- object GbrSx: TGaugeBar
- Left = 116
- Height = 16
- Top = 58
- Width = 177
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 1000
- Min = -1000
- ShowHandleGrip = True
- Position = 0
- OnUserChange = ScaleScrolled
- end
- object GbrSy: TGaugeBar
- Left = 116
- Height = 16
- Top = 90
- Width = 177
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 1000
- Min = -1000
- ShowHandleGrip = True
- Position = 0
- OnUserChange = ScaleScrolled
- end
- end
- object PageRotate: TPage
- object LblInfoRotate: TLabel
- Left = 8
- Height = 26
- Top = 8
- Width = 217
- Caption = 'method declaration: '#13#10'procedure Rotate(Cx, Cy, Alpha: Extended);'
- ParentColor = False
- end
- object LblCx: TLabel
- Left = 16
- Height = 13
- Top = 59
- Width = 17
- Caption = 'Cx:'
- ParentColor = False
- end
- object LblAlpha: TLabel
- Left = 16
- Height = 13
- Top = 91
- Width = 31
- Caption = 'Alpha:'
- ParentColor = False
- end
- object LblCy: TLabel
- Left = 152
- Height = 13
- Top = 59
- Width = 17
- Caption = 'Cy:'
- ParentColor = False
- end
- object EdtCx: TEdit
- Left = 48
- Height = 21
- Top = 56
- Width = 57
- OnChange = RotationChanged
- TabOrder = 0
- Text = '0'
- end
- object EdtAlpha: TEdit
- Left = 48
- Height = 21
- Top = 88
- Width = 57
- OnChange = RotationChanged
- TabOrder = 1
- Text = '0'
- end
- object EdtCy: TEdit
- Left = 184
- Height = 21
- Top = 56
- Width = 57
- OnChange = RotationChanged
- TabOrder = 2
- Text = '0'
- end
- object GbrAlpha: TGaugeBar
- Left = 112
- Height = 16
- Top = 90
- Width = 181
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 1000
- Min = -1000
- ShowHandleGrip = True
- Position = 0
- OnUserChange = RotationScrolled
- end
- end
- object PageSkew: TPage
- object LblInfoSkew: TLabel
- Left = 8
- Height = 26
- Top = 8
- Width = 173
- Caption = 'method declaration:'#13#10'procedure Skew(Fx, Fy: Extended);'
- ParentColor = False
- end
- object LblFx: TLabel
- Left = 16
- Height = 13
- Top = 59
- Width = 16
- Caption = 'Fx:'
- ParentColor = False
- end
- object LblFy: TLabel
- Left = 16
- Height = 13
- Top = 91
- Width = 16
- Caption = 'Fy:'
- ParentColor = False
- end
- object EdtFx: TEdit
- Left = 48
- Height = 21
- Top = 56
- Width = 57
- OnChange = SkewChanged
- TabOrder = 0
- Text = '0'
- end
- object EdtFy: TEdit
- Left = 48
- Height = 21
- Top = 88
- Width = 57
- OnChange = SkewChanged
- TabOrder = 1
- Text = '0'
- end
- object GbrFx: TGaugeBar
- Left = 116
- Height = 16
- Top = 58
- Width = 177
- Color = clScrollBar
- Backgnd = bgPattern
- Min = -100
- ShowHandleGrip = True
- Position = 0
- OnUserChange = SkewScrolled
- end
- object GbrFy: TGaugeBar
- Left = 116
- Height = 16
- Top = 90
- Width = 177
- Color = clScrollBar
- Backgnd = bgPattern
- Min = -100
- ShowHandleGrip = True
- Position = 0
- OnUserChange = SkewScrolled
- end
- end
- end
- end
- object CmbResamplerClassNames: TComboBox
- Left = 405
- Height = 21
- Top = 24
- Width = 177
- Anchors = [akTop, akRight]
- ItemHeight = 13
- OnChange = CmbResamplerClassNamesChange
- Style = csDropDownList
- TabOrder = 5
- end
- object CmbKernelClassNames: TComboBox
- Left = 405
- Height = 21
- Top = 64
- Width = 177
- Anchors = [akTop, akRight]
- ItemHeight = 13
- OnChange = CmbKernelClassNamesChange
- Style = csDropDownList
- TabOrder = 6
- Visible = False
- end
- end
- object TstProjective: TTabSheet
- Caption = 'Projective'
- ClientHeight = 0
- ClientWidth = 0
- ImageIndex = 1
- object LblProjectiveNote: TLabel
- Left = 48
- Height = 26
- Top = 24
- Width = 230
- Caption = 'Note:'#13#10'Only convex polygons are transormed normally!'
- ParentColor = False
- end
- end
- end
- object Src: TImage32
- Left = 2
- Height = 256
- Top = 2
- Width = 256
- Bitmap.DrawMode = dmBlend
- Bitmap.ResamplerClassName = 'TNearestResampler'
- BitmapAlign = baTopLeft
- Color = clAppWorkspace
- ParentColor = False
- RepaintMode = rmOptimizer
- Scale = 1
- ScaleMode = smNormal
- TabOrder = 0
- OnPaintStage = DstPaintStage
- end
- object Dst: TImage32
- Left = 264
- Height = 256
- Top = 2
- Width = 351
- Bitmap.DrawMode = dmBlend
- Bitmap.ResamplerClassName = 'TNearestResampler'
- BitmapAlign = baTopLeft
- Color = clAppWorkspace
- ParentColor = False
- RepaintMode = rmOptimizer
- Scale = 1
- ScaleMode = smNormal
- TabOrder = 1
- OnMouseDown = RubberLayerMouseDown
- OnMouseMove = RubberLayerMouseMove
- OnMouseUp = RubberLayerMouseUp
- OnPaintStage = DstPaintStage
- end
- object PnlOpacity: TPanel
- Left = 264
- Height = 20
- Top = 260
- Width = 281
- Alignment = taLeftJustify
- BevelOuter = bvNone
- Caption = ' Opacity:'
- ClientHeight = 20
- ClientWidth = 281
- TabOrder = 3
- object OpacityBar: TGaugeBar
- Left = 56
- Height = 16
- Top = 2
- Width = 213
- Color = clScrollBar
- Backgnd = bgPattern
- Max = 255
- ShowHandleGrip = True
- Position = 255
- OnChange = OpacityChange
- end
- end
- object CbxRepeat: TCheckBox
- Left = 544
- Height = 19
- Top = 260
- Width = 55
- Caption = 'Repeat'
- OnClick = CbxRepeatClick
- TabOrder = 4
- end
- end
|