1 #ifndef RS_LINETYPEPATTERN_H
2 #define RS_LINETYPEPATTERN_H
7 * Stores a line type pattern.
9 class RS_LineTypePattern
12 RS_LineTypePattern(int count ...);
13 ~RS_LineTypePattern();
20 // Create line patterns
21 static RS_LineTypePattern patternSolidLine(1, 10.0);
23 static RS_LineTypePattern patternDotLine(2, 0.1, -6.2);
24 static RS_LineTypePattern patternDotLine2(2, 0.1, -3.1);
25 static RS_LineTypePattern patternDotLineX2(2, 0.1, -12.4);
27 static RS_LineTypePattern patternDashLine(2, 12.0, -6.0);
28 static RS_LineTypePattern patternDashLine2(2, 6.0, -3.0);
29 static RS_LineTypePattern patternDashLineX2(2, 24.0, -12.0);
31 static RS_LineTypePattern patternDashDotLine(4, 12.0, -5.95, 0.1, -5.95);
32 static RS_LineTypePattern patternDashDotLine2(4, 6.0, -2.95, 0.1, -2.95);
33 static RS_LineTypePattern patternDashDotLineX2(4, 24.0, -11.95, 0.1, -11.95);
35 static RS_LineTypePattern patternDivideLine(
36 6, 12.0, -5.9, 0.15, -5.9, 0.15, -5.9);
37 static RS_LineTypePattern patternDivideLine2(
38 6, 6.0, -2.9, 0.15, -2.9, 0.15, -2.9);
39 static RS_LineTypePattern patternDivideLineX2(
40 6, 24.0, -11.9, 0.15, -11.9, 0.15, -11.9);
42 static RS_LineTypePattern patternCenterLine(4, 32.0, -6.0, 6.0, -6.0);
43 static RS_LineTypePattern patternCenterLine2(4, 16.0, -3.0, 3.0, -3.0);
44 static RS_LineTypePattern patternCenterLineX2(4, 64.0, -12.0, 12.0, -12.0);
46 static RS_LineTypePattern patternBorderLine(
47 6, 12.0, -6.0, 12.0, -5.95, 0.1, -5.95);
48 static RS_LineTypePattern patternBorderLine2(
49 6, 6.0, -3.0, 6.0, -2.95, 0.1, -2.95);
50 static RS_LineTypePattern patternBorderLineX2(
51 6, 24.0, -12.0, 24.0, -11.95, 0.1, -11.95);
53 static RS_LineTypePattern patternBlockLine(2, 0.5, -0.5);
54 static RS_LineTypePattern patternSelected(2, 1.0, -3.0);