123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493 |
- object MainForm: TMainForm
- Left = 254
- Height = 623
- Top = 244
- Width = 623
- Caption = 'Image Warping Example'
- ClientHeight = 604
- ClientWidth = 623
- Color = clBtnFace
- Font.Color = clWindowText
- Font.Height = -11
- Font.Name = 'Tahoma'
- Menu = MainMenu
- OnClose = FormClose
- OnCreate = FormCreate
- Position = poScreenCenter
- LCLVersion = '1.0.1.4'
- object PnlMain: TPanel
- Left = 482
- Height = 604
- Top = 0
- Width = 141
- Align = alRight
- BevelOuter = bvNone
- BevelWidth = 2
- Caption = 'PnlMain'
- ClientHeight = 604
- ClientWidth = 141
- TabOrder = 0
- object PnlGeneral: TPanel
- Left = 0
- Height = 73
- Top = 0
- Width = 141
- Align = alTop
- ClientHeight = 73
- ClientWidth = 141
- TabOrder = 0
- object LblGeneral: TLabel
- Left = 1
- Height = 16
- Top = 1
- Width = 139
- Align = alTop
- Alignment = taCenter
- AutoSize = False
- Caption = 'General'
- Color = clGray
- Font.Color = clWhite
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Style = [fsBold]
- Layout = tlCenter
- ParentColor = False
- ParentFont = False
- Transparent = False
- end
- object LblRemapScale: TLabel
- Left = 8
- Height = 14
- Top = 24
- Width = 66
- Caption = 'Remap Scale:'
- ParentColor = False
- end
- object ScaleBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 40
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- LargeChange = 10
- Max = 300
- Min = -300
- ShowHandleGrip = False
- Style = rbsMac
- Position = 100
- OnMouseUp = ScaleBarMouseUp
- end
- end
- object PnlBrush: TPanel
- Left = 0
- Height = 304
- Top = 233
- Width = 141
- Align = alTop
- ClientHeight = 304
- ClientWidth = 141
- TabOrder = 1
- object LblBrush: TLabel
- Left = 1
- Height = 16
- Top = 1
- Width = 139
- Align = alTop
- Alignment = taCenter
- AutoSize = False
- Caption = 'Brush'
- Color = clGray
- Font.Color = clWhite
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Style = [fsBold]
- Layout = tlCenter
- ParentColor = False
- ParentFont = False
- Transparent = False
- end
- object LblBrushFeather: TLabel
- Left = 8
- Height = 14
- Top = 88
- Width = 43
- Caption = 'Feather:'
- ParentColor = False
- end
- object LblBrushPressure: TLabel
- Left = 8
- Height = 14
- Top = 56
- Width = 47
- Caption = 'Pressure:'
- ParentColor = False
- end
- object LblBrushPinch: TLabel
- Left = 8
- Height = 14
- Top = 120
- Width = 30
- Caption = 'Pinch:'
- ParentColor = False
- end
- object LblBrushSize: TLabel
- Left = 8
- Height = 14
- Top = 24
- Width = 24
- Caption = 'Size:'
- ParentColor = False
- end
- object LblBrushMesh: TLabel
- Left = 8
- Height = 14
- Top = 160
- Width = 60
- Caption = 'Brush Mesh:'
- ParentColor = False
- end
- object FeatherBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 104
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- LargeChange = 10
- ShowHandleGrip = False
- Style = rbsMac
- Position = 12
- OnChange = PressureBarChange
- end
- object PressureBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 72
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- LargeChange = 10
- ShowHandleGrip = False
- Style = rbsMac
- Position = 50
- OnChange = PressureBarChange
- end
- object PinchBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 136
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- LargeChange = 10
- Min = -100
- ShowHandleGrip = False
- Style = rbsMac
- Position = 0
- OnChange = PressureBarChange
- end
- object SizeBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 40
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- LargeChange = 10
- Max = 500
- Min = 5
- ShowHandleGrip = False
- Style = rbsMac
- Position = 100
- OnChange = SizeBarChange
- OnMouseUp = GaugeMouseUp
- end
- object BrushMeshPreview: TPaintBox32
- Left = 8
- Height = 121
- Top = 176
- Width = 121
- TabOrder = 4
- OnResize = BrushMeshPreviewResize
- end
- end
- object ToolPanel: TPanel
- Left = 0
- Height = 160
- Top = 73
- Width = 141
- Align = alTop
- ClientHeight = 160
- ClientWidth = 141
- TabOrder = 2
- object LblWaroTool: TLabel
- Left = 1
- Height = 16
- Top = 1
- Width = 139
- Align = alTop
- Alignment = taCenter
- AutoSize = False
- Caption = 'Warp Tool'
- Color = clGray
- Font.Color = clWhite
- Font.Height = -11
- Font.Name = 'Tahoma'
- Font.Style = [fsBold]
- Layout = tlCenter
- ParentColor = False
- ParentFont = False
- Transparent = False
- end
- object LblParam: TLabel
- Left = 8
- Height = 14
- Top = 88
- Width = 31
- Caption = 'Param'
- Enabled = False
- ParentColor = False
- end
- object RateLabel: TLabel
- Left = 8
- Height = 14
- Top = 120
- Width = 28
- Caption = 'Rate:'
- Enabled = False
- ParentColor = False
- end
- object ToolGroup: TRadioGroup
- Left = 8
- Height = 57
- Top = 24
- Width = 121
- AutoFill = True
- ChildSizing.LeftRightSpacing = 6
- ChildSizing.TopBottomSpacing = 6
- ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
- ChildSizing.EnlargeVertical = crsHomogenousChildResize
- ChildSizing.ShrinkHorizontal = crsScaleChilds
- ChildSizing.ShrinkVertical = crsScaleChilds
- ChildSizing.Layout = cclLeftToRightThenTopToBottom
- ChildSizing.ControlsPerLine = 2
- ClientHeight = 39
- ClientWidth = 117
- Columns = 2
- ItemIndex = 0
- Items.Strings = (
- 'Warp'
- 'Zoom'
- 'Twirl'
- 'Flower'
- )
- OnClick = ToolGroupClick
- TabOrder = 0
- end
- object ParamBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 104
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- Enabled = False
- LargeChange = 10
- ShowHandleGrip = False
- Style = rbsMac
- Position = 20
- OnChange = PressureBarChange
- OnMouseUp = GaugeMouseUp
- end
- object RateBar: TGaugeBar
- Left = 8
- Height = 15
- Top = 136
- Width = 121
- Color = clScrollBar
- Backgnd = bgPattern
- Enabled = False
- LargeChange = 10
- Max = 399
- ShowHandleGrip = False
- Style = rbsMac
- Position = 350
- OnChange = RateBarChange
- OnMouseUp = GaugeMouseUp
- end
- end
- end
- object DstImg: TImgView32
- Left = 0
- Height = 604
- Top = 0
- Width = 482
- Align = alClient
- Bitmap.DrawMode = dmBlend
- Bitmap.ResamplerClassName = 'TNearestResampler'
- BitmapAlign = baCustom
- RepaintMode = rmOptimizer
- Scale = 1
- ScaleMode = smScale
- ScrollBars.Color = clScrollBar
- ScrollBars.ShowHandleGrip = True
- ScrollBars.Style = rbsDefault
- ScrollBars.Size = 16
- ScrollBars.Visibility = svAuto
- OverSize = 0
- TabOrder = 1
- OnMouseDown = DstImgMouseDown
- OnMouseMove = DstImgMouseMove
- OnMouseUp = DstImgMouseUp
- OnPaintStage = DstImgPaintStage
- end
- object OpenPictureDialog: TOpenPictureDialog
- left = 136
- top = 8
- end
- object UpdateTimer: TTimer
- Interval = 50
- OnTimer = UpdateTimerTimer
- left = 344
- top = 8
- end
- object OpenMeshDialog: TOpenDialog
- Filter = 'Photoshop Liquify Mesh (*.msh)|*.msh'
- Options = [ofHideReadOnly, ofFileMustExist, ofEnableSizing]
- left = 240
- top = 8
- end
- object SaveMeshDialog: TSaveDialog
- Filter = 'Photoshop Liquify Mesh (*.msh)|*.msh'
- Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
- left = 240
- top = 64
- end
- object SavePictureDialog: TSavePictureDialog
- DefaultExt = '.*.bmp'
- Filter = 'Bitmaps (*.bmp)|*.bmp'
- FilterIndex = 0
- Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
- left = 136
- top = 64
- end
- object MainMenu: TMainMenu
- left = 344
- top = 64
- object MnuFile: TMenuItem
- Caption = 'File'
- object MnuFileOpenImage: TMenuItem
- Caption = '&Open Image...'
- ShortCut = 16463
- OnClick = MnuFileOpenImageClick
- end
- object MnuFileSaveImage: TMenuItem
- Caption = '&Save Image...'
- ShortCut = 16467
- OnClick = MnuFileSaveImageClick
- end
- object N3: TMenuItem
- Caption = '-'
- end
- object MnuFileOpenMesh: TMenuItem
- Caption = 'Open Mesh...'
- OnClick = MnuFileOpenMeshClick
- end
- object MnuFileSaveMesh: TMenuItem
- Caption = 'Save Mesh...'
- OnClick = MnuFileSaveMeshClick
- end
- object MnuResetMesh: TMenuItem
- Caption = 'Reset Mesh'
- ShortCut = 16466
- OnClick = MnuResetMeshClick
- end
- object N4: TMenuItem
- Caption = '-'
- end
- object MnuFileExit: TMenuItem
- Caption = 'Exit'
- OnClick = MnuFileExitClick
- end
- end
- object MnuSampling: TMenuItem
- Caption = 'Sampling'
- object MnuSupersampleNow: TMenuItem
- Caption = 'Supersample Now!'
- OnClick = MnuSupersampleNowClick
- end
- object N1: TMenuItem
- Caption = '-'
- end
- object MnuSamplingKernel: TMenuItem
- Caption = 'Sampling Kernel'
- end
- object MnuKernelMode: TMenuItem
- Caption = 'KernelMode'
- object MnuKernelModeDefault: TMenuItem
- AutoCheck = True
- Caption = 'kmDefault (slow, but exact)'
- RadioItem = True
- OnClick = MnuKernelModeClick
- end
- object MnuKernelModeTableNearest: TMenuItem
- Tag = 1
- AutoCheck = True
- Caption = 'kmTableNearest (fastest, "curve" sampling)'
- RadioItem = True
- OnClick = MnuKernelModeClick
- end
- object MnuKernelModeTableLinear: TMenuItem
- Tag = 2
- AutoCheck = True
- Caption = 'kmTableLinear (fast, "curve" approximation)'
- Checked = True
- RadioItem = True
- OnClick = MnuKernelModeClick
- end
- end
- object MnuSamplingGrid: TMenuItem
- Caption = 'Sampling Grid'
- object MnuSamplingGrid2x2: TMenuItem
- Tag = 2
- AutoCheck = True
- Caption = '2x2'
- RadioItem = True
- OnClick = MnuSamplingGridClick
- end
- object MnuSamplingGrid3x3: TMenuItem
- Tag = 3
- AutoCheck = True
- Caption = '3x3'
- Checked = True
- RadioItem = True
- OnClick = MnuSamplingGridClick
- end
- object MnuSamplingGrid5x5: TMenuItem
- Tag = 5
- AutoCheck = True
- Caption = '5x5'
- RadioItem = True
- OnClick = MnuSamplingGridClick
- end
- object MnuSamplingGrid7x7: TMenuItem
- Tag = 7
- AutoCheck = True
- Caption = '7x7'
- RadioItem = True
- OnClick = MnuSamplingGridClick
- end
- end
- object N2: TMenuItem
- Caption = '-'
- end
- object MnuBilinearWarp: TMenuItem
- AutoCheck = True
- Caption = 'Bilinear Warp'
- Checked = True
- OnClick = MnuBilinearWarpClick
- end
- end
- end
- end
|