|
@@ -456,37 +456,39 @@ object Form1: TForm1
|
|
|
'{ BGRAScript }'
|
|
'{ BGRAScript }'
|
|
|
'FillTransparent'
|
|
'FillTransparent'
|
|
|
''
|
|
''
|
|
|
- '// Draw rectangles, lines and bitmap'
|
|
|
|
|
|
|
+ '// "Draw rectangles, lines and bitmap"'
|
|
|
'Rectangle 0,0,100,100,"rgba(0,0,0,0.6)","rgba(250,250,250,1)","dmDrawWithTransparency"'
|
|
'Rectangle 0,0,100,100,"rgba(0,0,0,0.6)","rgba(250,250,250,1)","dmDrawWithTransparency"'
|
|
|
'Rectangle 20,20,80,80,"rgba(0,0,0,0.4)","rgba(255,255,255,1)","dmDrawWithTransparency"'
|
|
'Rectangle 20,20,80,80,"rgba(0,0,0,0.4)","rgba(255,255,255,1)","dmDrawWithTransparency"'
|
|
|
'SetHorizLine 0,10,98,"rgba(0,0,0,.3)"'
|
|
'SetHorizLine 0,10,98,"rgba(0,0,0,.3)"'
|
|
|
'SetVertLine 90,1,98,"rgba(0,0,0,.3)"'
|
|
'SetVertLine 90,1,98,"rgba(0,0,0,.3)"'
|
|
|
'BlendBitmap 26,26,"test.png","boTransparent"'
|
|
'BlendBitmap 26,26,"test.png","boTransparent"'
|
|
|
''
|
|
''
|
|
|
- '// Save and weird things step 1'
|
|
|
|
|
|
|
+ '// "Save and weird things step 1"'
|
|
|
'SaveToFile "file.png"'
|
|
'SaveToFile "file.png"'
|
|
|
'Negative'
|
|
'Negative'
|
|
|
'BlendBitmap 0,100,"file.png","boTransparent"'
|
|
'BlendBitmap 0,100,"file.png","boTransparent"'
|
|
|
''
|
|
''
|
|
|
- '// Save and weird things step 2'
|
|
|
|
|
|
|
+ '// "Save and weird things step 2"'
|
|
|
'SaveToFile "file.png"'
|
|
'SaveToFile "file.png"'
|
|
|
'Negative'
|
|
'Negative'
|
|
|
|
|
+ 'FilterFastBlur 3,"False"'
|
|
|
'BlendBitmap 100,0,"file.png","boTransparent"'
|
|
'BlendBitmap 100,0,"file.png","boTransparent"'
|
|
|
''
|
|
''
|
|
|
- '// Flip the world and save it'
|
|
|
|
|
|
|
+ '// "Flip the world and save it"'
|
|
|
'VerticalFlip 0,0,100,100'
|
|
'VerticalFlip 0,0,100,100'
|
|
|
'HorizontalFlip 100,100,200,200'
|
|
'HorizontalFlip 100,100,200,200'
|
|
|
'VerticalFlip 100,0,200,100'
|
|
'VerticalFlip 100,0,200,100'
|
|
|
'HorizontalFlip 100,0,200,100'
|
|
'HorizontalFlip 100,0,200,100'
|
|
|
'SaveToFile "file.png"'
|
|
'SaveToFile "file.png"'
|
|
|
''
|
|
''
|
|
|
- '// Weird things level 3'
|
|
|
|
|
|
|
+ '// "Weird things level 3"'
|
|
|
'DrawCheckers 200,0,300,300,"rgba(100,100,100,255)","rgba(0,0,0,0)"'
|
|
'DrawCheckers 200,0,300,300,"rgba(100,100,100,255)","rgba(0,0,0,0)"'
|
|
|
'InplaceGrayscaleRect 0,0,100,100'
|
|
'InplaceGrayscaleRect 0,0,100,100'
|
|
|
|
|
+ 'FilterSmooth "False"'
|
|
|
'ApplyBitmapMask "file.png",100,100,200,200,0,100'
|
|
'ApplyBitmapMask "file.png",100,100,200,200,0,100'
|
|
|
''
|
|
''
|
|
|
- '// Save this in your hard disk (again)'
|
|
|
|
|
- 'SaveToFile "file.png" '
|
|
|
|
|
|
|
+ '// "Save this in your hard disk (again)"'
|
|
|
|
|
+ 'SaveToFile "file.png" '
|
|
|
)
|
|
)
|
|
|
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
|
VisibleSpecialChars = [vscSpace, vscTabAtLast]
|
|
|
SelectedColor.FrameEdges = sfeAround
|
|
SelectedColor.FrameEdges = sfeAround
|