aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/shading
Commit message (Collapse)AuthorAgeFilesLines
* Renamed shading package to gradientVincent Hennebert2014-07-144-1096/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610534 13f79535-47bb-0310-9956-ffa450edef68
* Moved stuff that is common to PDF and PS to PatternVincent Hennebert2014-07-142-13/+42
| | | | | | | Removed PSPattern class and no longer necessary PDF and PS sub-classes of GradientMaker git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610532 13f79535-47bb-0310-9956-ffa450edef68
* Moved content of FunctionPattern into FunctionVincent Hennebert2014-07-142-350/+181
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1610528 13f79535-47bb-0310-9956-ffa450edef68
* Moved content of ShadingPattern into ShadingVincent Hennebert2014-07-112-270/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609760 13f79535-47bb-0310-9956-ffa450edef68
* Factorized shading code that was common to PDF and PostScriptVincent Hennebert2014-07-113-15/+360
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609759 13f79535-47bb-0310-9956-ffa450edef68
* Renamed GradientFactory into GradientMakerVincent Hennebert2014-07-113-108/+15
| | | | | | | | | Moved PDF/PSGradientMaker into dedicated packages Factory stands for a pattern relating to application deployment. This is just about rendering a gradient to a certain output format. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609758 13f79535-47bb-0310-9956-ffa450edef68
* Tightened access control to Function's fieldsVincent Hennebert2014-07-111-15/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609756 13f79535-47bb-0310-9956-ffa450edef68
* Simplified makeShading and makePattern methodsVincent Hennebert2014-07-113-34/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609754 13f79535-47bb-0310-9956-ffa450edef68
* More sensible variable namingVincent Hennebert2014-07-114-52/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609751 13f79535-47bb-0310-9956-ffa450edef68
* Avoid unnecessary conversion to List of Double by keeping the original ↵Vincent Hennebert2014-07-113-135/+16
| | | | | | float[] array for colors git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609750 13f79535-47bb-0310-9956-ffa450edef68
* Removed makeFunction methods, whose implementations are the same for both ↵Vincent Hennebert2014-07-113-43/+2
| | | | | | PDF and PS git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609746 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary FunctionDelegate classVincent Hennebert2014-07-114-493/+436
| | | | | | | Removed makeFunction/Shading/Gradient methods in PDFFactory that were not used, duplicates of methods in (PDF)GradientFactory and getting in the way of refactoring git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609745 13f79535-47bb-0310-9956-ffa450edef68
* Moved creation of colors into createFunctionsVincent Hennebert2014-07-101-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609547 13f79535-47bb-0310-9956-ffa450edef68
* Removed makeGradient and moved its content into createGradientVincent Hennebert2014-07-101-20/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609542 13f79535-47bb-0310-9956-ffa450edef68
* Extracted function creation into separate method and simplified itVincent Hennebert2014-07-101-24/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609538 13f79535-47bb-0310-9956-ffa450edef68
* Removed dead codeVincent Hennebert2014-07-101-23/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609535 13f79535-47bb-0310-9956-ffa450edef68
* Gave more sensible names to variablesVincent Hennebert2014-07-101-56/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609533 13f79535-47bb-0310-9956-ffa450edef68
* Removed createGradient abstract method, that was not having any specific ↵Vincent Hennebert2014-07-104-81/+15
| | | | | | | | | implementation in sub-classes Removed unnecessary GradientRegistrar interface git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609532 13f79535-47bb-0310-9956-ffa450edef68
* Factorized code that is common to linear and radial gradient creationVincent Hennebert2014-07-101-40/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609530 13f79535-47bb-0310-9956-ffa450edef68
* Factorized gradient creation out of PDF & PS into GradientFactoryVincent Hennebert2014-07-103-4/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609529 13f79535-47bb-0310-9956-ffa450edef68
* Removed pseudo-factory method GradientFactory.newInstanceVincent Hennebert2014-07-102-17/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609511 13f79535-47bb-0310-9956-ffa450edef68
* Fixed gradients in PostScript outputVincent Hennebert2014-07-101-1/+1
| | | | | | | | Linear gradients were not rendered properly in non-square shapes Gradial gradients don't need to be rasterized in ellipses git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609508 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2313: add support for svg gradients when generating PostScript; most ↵Luis Bernardo2013-11-1310-0/+1359
code authored by Robert Meyer with a small contribution by Athanasios Giannimaras. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1541551 13f79535-47bb-0310-9956-ffa450edef68