[cairo] Radial gradient

Zhu, Wei (Clark) wzhu at microstrategy.com
Tue Jun 30 18:33:40 PDT 2009


Hi all,

 

 Cairo can provide the great functionality to generate the pdf file.
Recently, I did some research on how to transfer the pdf file from Cairo
to my preferred one.

 

 See the attachments. The file mstrWeb_363777_EE_Embedded.pdf is
transferred from 7401.R012_Pie_NoDepth.pdf.

 The Cairo output is like the following:

  

However, the transferred result is like the following:

 

 

As you can see, the top of pie in transferred result is whiter than
Cairo output. Meanwhile, the bottom is darker than Cairo output.
Previously, I thought we may have some gradient objects of Cairo output
missing when parsing it. After I checked the source file of
mstrWeb_363777_EE_Embedded.pdf.I found "31 0 obj"( a radial gradient)
doesnot work. Could anyone explain why? I guess this is related to
coordinate system. Any reply will be nice

 

 

Thanks,

Clark

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1192 bytes
Desc: image001.png
Url : http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5052 bytes
Desc: image002.jpg
Url : http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0002.jpeg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 6712 bytes
Desc: image003.jpg
Url : http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0003.jpeg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7401.R012_Pie_NoDepth.pdf
Type: application/octet-stream
Size: 26932 bytes
Desc: 7401.R012_Pie_NoDepth.pdf
Url : http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mstrWeb_363777_EE_Embedded.pdf
Type: application/octet-stream
Size: 37663 bytes
Desc: mstrWeb_363777_EE_Embedded.pdf
Url : http://lists.cairographics.org/archives/cairo/attachments/20090630/96d80b12/attachment-0003.obj 


More information about the cairo mailing list