Gradients

Christina Roßmanith ChrRossmanith at gmx.de
Fri Sep 14 13:12:04 PDT 2012


Hi,

I'll have a look at gradients again. Could someone please have a look at 
the following two gradient specifications and tell me if they are 
supposed to look the same:


1. Created by LibreOffice (create rectangle in Draw, fill with a blue to 
green gradient, save as fodg)

  <draw:gradient draw:name="Gradient_20_7" draw:display-name="Gradient 
7" draw:style="linear" draw:start-color="#0000ff" 
draw:end-color="#00ff00" draw:start-intensity="100%" 
draw:end-intensity="100%" draw:angle="0" draw:border="0%"/>


2. Modified by me to use svg:linearGradient instead of draw:gradient 
(rendered as a grey to white gradient, clearly has to be improved :-)  )

   <svg:linearGradient draw:name="Gradient_20_7" 
draw:display-name="Gradient 7">
     <svg:stop svg:offset="0" svg:stop-color="#0000ff" 
svg:stop-opacity="100%" />
     <svg:stop svg:offset="1" svg:stop-color="#00ff00" 
svg:stop-opacity="100%" />
   </svg:linearGradient>

Thank you,
Christina



More information about the LibreOffice mailing list