lines
lines breaks a string up into a list of strings at newline characters. The resulting strings do not contain newlines.
Zl: Separator, Line
This module corresponds to section 3.4 (Line Segments) of the OpenGL 2.1 specs.
Treats each pair of vertices as an independent line segment. Vertices 2n-1 and 2n define line n. N/2 lines are drawn.
lines breaks a ByteString up into a list of ByteStrings at newline Chars. The resulting strings do not contain newlines.
lines breaks a ByteString up into a list of ByteStrings at newline Chars. The resulting strings do not contain newlines.
As of bytestring 0.9.0.3, this function is stricter than its list cousin.
O(n) Breaks a Text up into a list of Texts at newline Chars. The resulting strings do not contain newlines.
Controls whether line antialiasing is enabled. The initial state is Disabled.
Line stippling masks out certain fragments produced by rasterization; those fragments will not be drawn. The masking is achieved by using three parameters: the repeat count (1st element of the lineStipple pair, clamped to the range [ 1 .. 256 ]), the 16-bit line stipple pattern (2nd element), and an integer stipple counter s.
The counter s is reset to 0 at before the first action during renderPrimitive is called and before each line segment during renderPrimitive is generated. It is incremented after each fragment of a unit width aliased line segment is generated or after each i fragments of an i width line segment are generated. The i fragments associated with count s are masked out if testBit pattern (( s / factor ) mod 16) is False, otherwise these fragments are sent to the frame buffer. Bit zero of the pattern is the least significant bit, i.e. it is used first.
Antialiased lines are treated as a sequence of rectangles of height 1 for purposes of stippling. Whether rectangle s is rasterized or not depends on the fragment rule described for aliased lines, counting rectangles rather than groups of fragments.
The initial value of lineStipple is Nothing, i.e. line stippling is disabled.
An InvalidOperation is generated if lineStipple is set during renderPrimitive.
This converts a string, but keeps spaces as non-line-breakable, and adds line breaks between each of the strings in the input list.
Draws a connected group of line segments from the first vertex to the last. Vertices n and n+1 define line n. N-1 lines are drawn.
unlines is an inverse operation to lines. It joins lines, after appending a terminating newline to each.
Sparklines implementation of smooth and bar graphs
Version 0.1.0
Show more results