Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lines with rounded corners #158

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Commits on Nov 15, 2012

  1. Preliminary support for Lines with rounded corners

    So far only rects could have rounded corners.
    Warning 1: this code uses arcTo() which is tagged as "problematic in Opera" elsewhere in this library.
    Warning 2: this code does not yet correct for very acute angles, where the radius must be decreased for the rounding to fit.
    Manually making the calculation is possible, but computationally intensive.
    Limitation: Combine dashed lines with rounded corners will not be supported (it is possible, but that requires a lot of code)
    macfreek committed Nov 15, 2012
    Configuration menu
    Copy the full SHA
    d194f14 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2012

  1. Check if the rounded corner fits

    If it doesn't fit, reduce the radius till it fits.
    Note: this code is not optimized yet.
    macfreek committed Nov 16, 2012
    Configuration menu
    Copy the full SHA
    8c48884 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2012

  1. Replace arcTo() with arc()

    macfreek committed Nov 22, 2012
    Configuration menu
    Copy the full SHA
    12019cc View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2012

  1. Configuration menu
    Copy the full SHA
    56ba4e8 View commit details
    Browse the repository at this point in the history