Open
Description
What to do when a particular function isn't fit for purpose - do we change it, or add a new one and leave the original in place?
For example, HPDF_Shading_New()
is basically HPDF_FreeFormTriangleMeshShading_New
, given the min/max arguments for the "decodeArray".
A "generic" version would simply need HPDF_Shading_New (HPDF_Doc, HPDF_ShadingType, HPDF_ColorSpace)
, with other "Shading" functions providing the necessary data for different types.
I'm currently implementing Axial and Radial types, neither of which require a decode array.
Metadata
Metadata
Assignees
Labels
No labels