×

Approximation of stroked higher-order curved segments by quadratic bèzier curve segments

  • US 8,773,439 B2
  • Filed: 04/29/2011
  • Issued: 07/08/2014
  • Est. Priority Date: 05/21/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of approximating cubic Bè

  • zier path segments, the method comprising;

    receiving a stroke width and a path including a cubic Bè

    zier path segment;

    computing a first endpoint position, a second endpoint position, a first tangent at the first endpoint, and a second tangent at the second endpoint for the cubic Bè

    zier path segmentfitting an approximating quadratic Bè

    zier curve segment to the endpoint positions and tangents computed for the cubic Bè

    zier path segment;

    determining whether the approximating quadratic Bè

    zier curve segment is an accurate approximation of the cubic Bè

    zier path segment based on a variance metric; and

    stroking an approximated path including the approximating quadratic Bezier curve segment by;

    constructing a bounding hull geometry that encloses the approximating quadratic Bè

    zier curve segment;

    writing results to a stencil buffer indicating whether sample points within the bounding hull geometry are inside of a stroke region specified by the stroke width and the approximated path; and

    filling the stroke region by writing a color buffer using the results stored in the stencil buffer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×