ADG Lua 

ADG Lua Commit Details

Date:2013-04-07 14:23:14 (6 years 5 months ago)
Author:Nicola Fontana
Branch:master
Commit:a4dd12cd3462eae34ff45a7ab4e472539f389b08
Parents: e611af4bc9f8f22d72b4ed5ec357bfbc1f1cc2aa
Message:doc: added doc for adg-demo included in stock ADG

Changes:
Cdoc/adg-lua.tex → doc/adg-demo.tex
Mdoc/.gitignore (1 diff)
Mdoc/Makefile (2 diffs)

File differences

doc/.gitignore
1
2
3
4
15
26
37
/adg-demo.aux
/adg-demo.log
/adg-demo.pdf
/adg-demo.png
/adg-lua.aux
/adg-lua.log
/adg-lua.pdf
doc/Makefile
1
1
22
33
4
4
55
66
77
......
1515
1616
1717
18
19
20
21
22
23
all: adg-web.png adg-lua.png
all: adg-web.png adg-lua.png adg-demo.png
clean:
rm -f adg-web.pdf adg-web.png adg-lua.pdf adg-lua.png
rm -f adg-web.pdf adg-web.png adg-lua.pdf adg-lua.png adg-demo.pdf adg-demo.png
adg-web.pdf: adg-web.tex base.tex
adg-lua.png: adg-lua.pdf
convert -antialias -density 600 $< -flatten -resize 800x $@
adg-demo.pdf: adg-demo.tex base.tex
pdflatex adg-demo.tex
adg-demo.png: adg-demo.pdf
convert -antialias -density 600 $< -flatten -resize 800x $@
doc/adg-demo.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
\input{base}
\begin{document}
\begin{tikzpicture}[->,>=stealth']
\node[state] (USER) at (0:5cm) {%
\textbf{USER}};
\node[actor] (GTK) at (72:5cm) {%
\ACTOR{GTK\texttt{+}}{%
\item \FILE{libgobject-2.0.so}
\item \FILE{libgtk-3.so}
\item \FILE{adg-demo.ui}}};
\node[actor] (C) at (144:5cm) {%
\ACTOR{C application}{%
\item \FILE{adg-demo.c}
\item \FILE{adg-demo}}};
\node[actor] (ADG) at (216:5cm) {%
\ACTOR{ADG canvas}{%
\item \FILE{libadg-1.so}
\item \FILE{libcpml-1.so}}};
\node[actor] (CAIRO) at (288:5cm) {%
\ACTOR{Cairo library}{%
\item \FILE{libcairo.so}
\item PangoCairo
\item FreeType
\item FontConfig}};
\path (USER) edge[bend left=-18] node[above right]
{\textit{User interaction}} (GTK);
\path (GTK) edge[bend left=-18] node[above left]
{\textit{Signals}} (C);
\path (C) edge[bend left=-18] node[left]
{\textit{API calls}} (ADG);
\path (ADG) edge[bend left=-18] node[below left]
{\textit{API calls}} (CAIRO);
\path (CAIRO) edge[bend left=-18] node[below right]
{\textit{Screen updates}} (USER);
\path (GTK) edge node[right]
{\textit{API calls}} (CAIRO);
\path (C) edge[bend left=-18] node[above right]
{\textit{API calls}} (CAIRO);
\end{tikzpicture}
\end{document}

Archive Download the corresponding diff file

Branches

Tags