Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

problem with Axial Shading

$
0
0

Hi,

 

I'm implementing axial shading for my pdf viewer. I'm using the attached file for testing and it does not look as in Acrobat Reader. The file specifies axial shading with Coords = [0 0 1 0]. This is a horizontal axis, so my implementation produces a result in which colors vary horizontally. This seems correct to me -- according to the specification:

 

"Type 2 (axial) shadings define a color blend that varies along a linear axis between two endpoints and extends indefinitely perpendicular to that axis."

 

However, colors seem to vary vertically when the file is opened in Acrobat Reader. I'd appreciate any ideas about what I am missing.


Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>