|
1 # This file is used to create x11_dependencies.sk, which is then converted to a PNG image. |
|
2 # |
|
3 # lout -EPS -o dependencies.eps dependencies.lout |
|
4 # pstoedit -f sk dependencies.eps x11_dependencies.sk |
|
5 # makeimage.py x11_dependencies.sk x11_dependencies.png 0.25 --anti-alias |
|
6 |
|
7 @SysInclude { picture } |
|
8 @SysInclude { tbl } |
|
9 @SysInclude { diag } |
|
10 |
|
11 macro @TTGreenColour { {cmyk 0.40 0.00 1.00 0.01} } |
|
12 macro @TTPurpleColour { {cmyk 0.39 0.39 0.00 0.00} } |
|
13 macro @DefaultColour { rgb { 0.961 0.961 0.863 } } |
|
14 macro @FreetypeColour { rgb { 0.902 0.902 0.980 } } |
|
15 macro @GLColour { rgb { 1.000 0.753 0.796 } } |
|
16 macro @PthreadColour { rgb { 0.741 0.718 0.420 } } |
|
17 macro @OptionalColour { rgb { 0.792 0.882 1.000 } } |
|
18 macro @SMColour { rgb { 0.761 0.980 0.980 } } |
|
19 macro @MiscColour { rgb { 0.941 0.973 1.000 } } |
|
20 macro @GlibColour { rgb { 0.7 0.7 0.7 } } |
|
21 @Illustration |
|
22 @InitialFont { Helvetica Base 14p } |
|
23 { |
|
24 @Centre @Diag |
|
25 outline { shadowbox } |
|
26 shadow { 0.15f } |
|
27 margin { 0.5f } |
|
28 hsize { 5f } |
|
29 paint { @MiscColour } |
|
30 arrowwidth { 0.55f } |
|
31 arrowlength { 0.55f } |
|
32 pathwidth { medium } |
|
33 zindent { 0.1f } |
|
34 radius { 0.5f } |
|
35 # |
|
36 bmargin { 0.5f } |
|
37 boutlinestyle { noline } |
|
38 # |
|
39 coutlinestyle { noline } |
|
40 cmargin { 0.5f } |
|
41 { |
|
42 @Tbl |
|
43 # rule { yes } rulecolour { red } |
|
44 indent { ctr } |
|
45 iv { ctr } |
|
46 marginvertical { 1.25f } |
|
47 div { top } |
|
48 # fmarginbelow { 0c } |
|
49 |
|
50 aformat { @Cell A | @Cell B | @StartHSpan @Cell marginbelow { 0c } font { +2p } C | @HSpan | @HSpan | @Cell F | @Cell G} |
|
51 bformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @Cell F | @Cell G } |
|
52 cformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @Cell marginleft { 1.5c } F | @Cell G } |
|
53 dformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @Cell F | @Cell G } |
|
54 eformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @Cell F | @Cell G } |
|
55 fformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @Cell F | @Cell G } |
|
56 gformat { @Cell A | @Cell B | @Cell C | @Cell D | @Cell E | @StartHSpan @Cell F | @HSpan } |
|
57 { |
|
58 @Rowa C { Qt"/"X11 library dependencies } |
|
59 @Rowb D { QTGUI:: @Node paint { @TTGreenColour } QtGui } |
|
60 @Rowc C { XCURSOR:: @Node paint { @OptionalColour } Xcursor } |
|
61 D { XRANDR:: @Node paint { @OptionalColour } Xrandr } |
|
62 E { XINERAMA:: @Node paint { @OptionalColour } Xinerama } |
|
63 F { Xi:: @Node paint { @OptionalColour } Xi } |
|
64 @Rowd A { FONTCONFIG:: @Node paint { @OptionalColour } Fontconfig } |
|
65 D { XRENDER:: @Node paint { @OptionalColour } XRender } |
|
66 G { Xt:: @Node paint { @DefaultColour } Xt* } |
|
67 @Rowe A { FREETYPE:: @Node paint { @OptionalColour } FreeType } |
|
68 B { QTCORE:: @Node paint { @TTPurpleColour } QtCore } |
|
69 D { XFIXES:: @Node paint { @OptionalColour } Xfixes } |
|
70 E { XEXT:: @Node paint { @DefaultColour } Xext } |
|
71 G { SM:: @Node paint { @SMColour } SM } |
|
72 @Rowf B { PTHREAD:: @Node paint { @PthreadColour } pthread } |
|
73 C { GLIB:: @Node paint { @GlibColour } Glib } |
|
74 E { X:: @Node paint { @DefaultColour } X11 } |
|
75 G { ICE:: @Node paint { @SMColour } ICE } |
|
76 @Rowg F { |
|
77 @Tbl |
|
78 font { -2p } |
|
79 margin { 0.15f } |
|
80 cmarginabove { 0c } |
|
81 iv { top } |
|
82 bformat { @Cell A | @Cell B | @Cell C } |
|
83 cformat { @Cell A | @Cell B | @Cell C } |
|
84 aformat { @StartHSpan @Cell A | @HSpan | @HSpan } |
|
85 { |
|
86 @Rowb A { C:: @BNode {} } B { D:: @BNode {} } |
|
87 C { some configurations only } |
|
88 @Rowb B { * } C { Xt intrinsics only } |
|
89 } |
|
90 } |
|
91 } |
|
92 // |
|
93 @VHVCurveArrow from { QTGUI } to { XINERAMA } pathstyle { dotted } |
|
94 @VHVCurveArrow from { QTGUI } to { Xi } pathstyle { dotted } |
|
95 @HVCurveArrow from { QTGUI } to { QTCORE } |
|
96 @Arrow from { QTCORE } to { PTHREAD } |
|
97 @VHVCurveArrow from { QTCORE } to { GLIB } pathstyle { dotted } |
|
98 @HVCurveArrow from { QTGUI } to { Xt } |
|
99 @Arrow from { QTGUI } to { XRANDR } pathstyle { dotted } |
|
100 @VHVCurveArrow from { QTGUI } to { XCURSOR } pathstyle { dotted } |
|
101 @Arrow from { XRANDR } to { XRENDER } |
|
102 @Arrow from { XINERAMA } to { XEXT } |
|
103 @VHCurveArrow from { XCURSOR } to { XRENDER } |
|
104 @HVCurveArrow from { XRENDER } to { XEXT } |
|
105 @HVHCurveArrow from { Xi } to { XEXT } |
|
106 @Arrow from { Xt } to { SM } |
|
107 @HVHCurveArrow from { Xt } to { X } |
|
108 @Arrow from { SM } to { ICE } |
|
109 @Arrow from { XEXT } to { X } |
|
110 @VHCurveArrow from { XCURSOR } to { XFIXES } |
|
111 @VHVCurveArrow from { XFIXES } to { X } |
|
112 @HVCurveArrow from { QTGUI } to { FONTCONFIG } pathstyle { dotted } |
|
113 @Arrow from { FONTCONFIG } to { FREETYPE } pathstyle { dotted } |
|
114 @VHVCurveArrow from { FREETYPE } to { PTHREAD } |
|
115 @Link from { C@W } to { D@E } pathstyle { dotted } |
|
116 } |
|
117 } |