Upon "end" it removes the linesegment from the scanline & tests if its neighbours intersect. All while emitting those trapagons according to the given winding rule.
These results causes some micro-optimized code (often written in Assembly) to write the computed values from the given "pattern" into the appropriate bytes of the output image, possibly mixing with the previous value.
5/5 Fin! See also: https://adrian.geek.nz/graphics_docs/cairo.html
Until recently most productivity UIs were drawn this way.
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.