Method of compositing variable alpha fills supporting group opacity
Abstract
A method of compositing a plurality of graphic objects with a compositing buffer, is disclosed. The plurality of graphic objects forming a group is attenuated by group opacity and is composited from a top object to a bottom object. Based on a first mask and the group opacity, a second mask is generated. The first mask stores a remaining possible contribution for further graphic objects below and including the plurality of graphic objects. The plurality of graphic objects in a top down order is processed. In particular, for each graphic object of the plurality of graphic objects: (a) a contribution value for the graphic object using the second mask is determined, the contribution value representing a contribution of the graphic object to the compositing buffer; (b) a colour value of the graphic object is composited with the compositing buffer using the contribution value; and (c) the second mask is updated using the contribution value. The first mask is then updated using the second mask and the group opacity. The updated first mask is configured for further compositing of objects below the plurality of graphic objects.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of compositing a plurality of graphic objects with a compositing buffer, said plurality of graphic objects forming a group being attenuated by group opacity and being composited from a top object to a bottom object, the method comprising the steps of: generating, based on a first mask and the group opacity, a second mask, the first mask storing a remaining possible contribution for further graphic objects below and including said plurality of graphic objects; processing said plurality of graphic objects in a top down order, the processing comprising the sub-steps of, for each graphic
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (1)
- S. Conversy, et al., "The svgl toolkit: enabling fast rendering of rich 2D graphics", Jun. 2006.