You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: isolate gradient soft-mask state, fix docs and redundancies
Internal cleanup and documentation accuracy pass over the graph library.
No change to rendered PDF output except the removal of redundant operators.
- Gradient: move transparency soft-mask pattern bookkeeping out of $gradients into a dedicated, fully-typed $gradientMasks property so getGradientsArray() always returns complete GradientData entries. Removes the obsolete @PHPStan-Ignore comments (project uses mago).
- Gradient: stop advertising the internal DeviceGray soft-mask shading/pattern in the page-level gradient resource dictionary; it is only referenced from within the soft-mask form XObject.
- Draw::getArrow(): do not re-emit the line style for the arrowhead, as it already persists in the graphics state (updates testGetArrow).
- Raw::getRawEllipticalArc(): compute the optional $bbox in float instead of truncating coordinates to int.
- Gradient: normalize default CMYK registration-bar colors to consistent percent form (parse-identical, no output change).
- Docs: fix getPathPaintOp() CNZ/CEO clipping-rule descriptions and the b* operator, add getAlpha() $ais param, and correct the setRawEllipticalArcAngles() parameter order.
0 commit comments