|
@@ -459,8 +459,11 @@ object Form1: TForm1
|
|
|
'{ BGRAScript }'
|
|
'{ BGRAScript }'
|
|
|
'FillTransparent'
|
|
'FillTransparent'
|
|
|
''
|
|
''
|
|
|
|
|
+ '// "store some values"'
|
|
|
|
|
+ 'let oneh 100'
|
|
|
|
|
+ ''
|
|
|
'// "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,oneh,oneh,"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)"'
|
|
@@ -469,13 +472,13 @@ object Form1: TForm1
|
|
|
'// "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,oneh,"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"'
|
|
'FilterFastBlur 3,"False"'
|
|
|
- 'BlendBitmap 100,0,"file.png","boTransparent"'
|
|
|
|
|
|
|
+ 'BlendBitmap oneh,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'
|
|
@@ -843,6 +846,9 @@ object Form1: TForm1
|
|
|
EntityAttri.FrameEdges = sfeAround
|
|
EntityAttri.FrameEdges = sfeAround
|
|
|
VariableAttri.FrameEdges = sfeAround
|
|
VariableAttri.FrameEdges = sfeAround
|
|
|
DotAttri.FrameEdges = sfeAround
|
|
DotAttri.FrameEdges = sfeAround
|
|
|
|
|
+ KeyWords.Strings = (
|
|
|
|
|
+ 'LET'
|
|
|
|
|
+ )
|
|
|
NumberAttri.Foreground = clMaroon
|
|
NumberAttri.Foreground = clMaroon
|
|
|
NumberAttri.FrameEdges = sfeAround
|
|
NumberAttri.FrameEdges = sfeAround
|
|
|
PreprocessorAttri.FrameEdges = sfeAround
|
|
PreprocessorAttri.FrameEdges = sfeAround
|