Bug 691314 - pattern accumulator needs to have its own copy alpha operation
Summary: pattern accumulator needs to have its own copy alpha operation
Status: RESOLVED WONTFIX
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Color (show other bugs)
Version: master
Hardware: All All
: P4 enhancement
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 19:15 UTC by Michael Vrhel
Modified: 2023-05-23 16:28 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Vrhel 2010-05-17 19:15:11 UTC
Commit, rev 11213 fixed a problem when using GraphicsAlphaBits in the presence of patterns.  The fix involved intialializing the pattern's bit buffer appropriately so that when gx_default_copy_alpha performed a get_bits command it would obtatin valid data.   It would be better to have the pattern accumulator set up with it's own copy_alpha opereation that made use of the mask buffer in the pattern object that keeps track of data that has been drawn in the pattern's buffer.  The copy_alpha will need to update the mask to ensure that the anti-aliased graphic is completely drawn when the tiling operation occurs as well as make use of the mask to only compute the alpha from those values.