diff options
author | kramm <kramm> | 2005-02-05 19:40:49 +0000 |
---|---|---|
committer | kramm <kramm> | 2005-02-05 19:40:49 +0000 |
commit | 9351d5fdb18da5a81260fba5715cf5e809338ea9 (patch) | |
tree | 92fefa2cbf07072adba021fb45f9af69be243225 /doc | |
parent | 207ff1e0876ef04db4ab3e3cc34e49150aa33093 (diff) |
brought up to date.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fileformat.sc | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/doc/fileformat.sc b/doc/fileformat.sc index 1392154c..2926fc4b 100644 --- a/doc/fileformat.sc +++ b/doc/fileformat.sc @@ -62,6 +62,30 @@ 100% #ffffff .end +# with a hard edge: + +.gradient mygradient: + 0% red + 50% green + 50% red + 75% aquamarine + 100% #ffffff +.end + +# with alpha: + +.gradient mygradient: + 0% #00000000 + 50% #0000ff40 + 75% #0000ff80 + 100% #0000ffc0 +.end + +# define a texture from a gradient: +# --------------------------------- + +.texture grad2=mygradient x=0 y=0 width=125 height=200 rotate=45 + # Create simple objects: # ---------------------- @@ -69,9 +93,10 @@ .box mybox2 width=100 height=50 color=black #same as above .box mybox3 width=100 height=50 color=black fill #filled black rectangle .box mybox4 width=100 height=50 color=red line=2 fill=blue #blue rectangle with red edges -.box mybox5 width=100 height=50 color=red line=2 fill=background #part the background image, with red edges +.box mybox5 width=100 height=50 color=red line=2 fill=background #filled with image "background", with red edges .circle mycircle1 r=50 color=#aa33ff fill=mygradient # filled with gradient (defined above) +.circle mycircle1 r=50 color=#aa33ff fill=grad2 # filled with gradient texture # Sounds: # ------- |