Skip to content

Shapes: Add Scan() API to IPath #7

Description

@antonfirsov

Currently region scanning implemented within ImageSharp.Drawing is based on IPath.FindIntersections().
Calculating generic segment x segment intersections is unnecessary and sub-optimal in this use case.

To enable all optimizations possible in this context:

  • We should define a Scan(...) API right on the surface of IPath
  • Consider defining it as a multi-line scanning

Activity

  1. changed the title [-]Add Scan() API to IPath[/-] [+]Shapes: Add Scan() API to IPath[/+] on Jan 17, 2020
  2. JimBobSquarePants commented on Jun 30, 2020

    @JimBobSquarePants
    Member

    This paper on Scanline edge-flag algorithm for antialiasing looks relevant and interesting (I think)

    http://mlab.uiah.fi/~kkallio/antialiasing/

  3. antonfirsov commented on Sep 18, 2020

    @antonfirsov
    MemberAuthor

    Closing this in favor of #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions