![]() |
|Download Files|
![]() ![]() ![]() ![]() ![]() Next: Antialiasing Up: 3.4.2 Other Line Segment Previous: Line Stipple
Wide LinesThe actual width of non-antialiased lines is determined by rounding the supplied width to the nearest integer, then clamping it to the implementation-dependent maximum non-antialiased line width. Though this implementation-dependent value cannot be queried, it must be no less than the implementation-dependent maximum antialiased line width, rounded to the nearest integer value, and in any event no less than 1. If rounding the specified width results in the value 0, then it is as if the value were 1. Non-antialiased line segments of width other than one are rasterized by offsetting them in the minor direction (for an x-major line, the minor direction is y, and for a y-major line, the minor direction is x) and replicating fragments in the minor direction (see Figure 3.5).
Let w be the width rounded to the nearest integer (if w=0,
then it is as if w=1).
If the line segment has endpoints given by
David Blythe Sat Mar 29 02:23:21 PST 1997
|