aaLine

Draw an anti-aliased line.

  1. void aaLine(V v, float x1, float y1, float x2, float y2, COLOR color)
  2. void aaLine(V v, float x1, float y1, float x2, float y2, COLOR color, frac alpha)
    void
    aaLine
    (
    bool CHECKED = true
    V
    COLOR
    frac
    )
    (
    auto ref V v
    ,
    float x1
    ,
    float y1
    ,
    float x2
    ,
    float y2
    ,
    COLOR color
    ,
    frac alpha
    )
    if (
    is(COLOR : ViewColor!V)
    )

Meta