I am learning tikz now, it is painfully slow, but I am slowly learning. I am trying to reproduce the image below.



Here is my code so far. This is basically a rip of from the pgf manual. 

\documentclass[10pt,a4paper]{article}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\usepgflibrary{shapes}
\usetikzlibrary{through}

\begin{document}

\begin{figure}[!htpb] \centering
\begin{tikzpicture}
\foreach \a in {5,...,5}{
 \draw[blue, dashed] (\a*2,0) circle(0.5cm);
\node[regular polygon, regular polygon sides=\a, minimum size=1cm, draw] at    (\a*2,0) {};
}
\end{tikzpicture}
\end{figure}
\end{document}


Some problems with this code


How do i scale this image?
How do I label each side ?
Once again, how do I make that pesky angle ? 
Is there a way to do this for a n-gon?


When I scaled the image using simply \begin{tikzpicture}[scale=3]... only the circle grew. Labeling each point manually is sort of tedious.. =(



EDIT: I DID IT WOEEE Code us ugly though... :D:DD:

\documentclass[10pt,a4paper]{article}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\usepgflibrary{shapes}
\usetikzlibrary{through}

\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}

\begin{document}

\begin{figure}[!htbp]
\centering
\Large 
\begin{tikzpicture}[scale=1]
\node (A) [draw,thick,regular polygon, regular polygon sides=6, minimum     size=7cm,outer sep=0pt,fill=gray!20] {};
\node at (A.corner 1) [anchor=360/6*(1-1)+270] {$D$};
\node at (A.corner 2) [anchor=360/6*(2-1)+270] {$E$};
\node at (A.corner 3) [anchor=360/6*(3-1)+270] {$F$};
\node at (A.corner 4) [anchor=360/6*(4-1)+270] {$A$};
\node at (A.corner 5) [anchor=360/6*(5-1)+270] {$B$};
\node at (A.corner 6) [anchor=360/6*(5-1)+270] {$C$};
\node at (A.corner 4) [right,above] {\hspace{3.5cm}$AB=16$cm};
\coordinate [label=above:\textcolor{blue}{$S$}] (S) at (0.95,1);
\draw[gray, thick, dashed] (0,0) circle(3.52cm);
\path[draw] (0.7,-0.3) node {$\alpha$};
{
\begin{pgfonlayer}{foreground}
\draw[gray,thick, dashed] (A.corner 4) -- (S) -- (A.corner 5);
\end{pgfonlayer}
}

\begin{scope}
  \path[clip] (S) -- (A.corner 4) -- (A.corner 5) -- cycle;
  \draw [red, fill=red!20] (S) circle (30pt);
  \draw [black] (S) circle (30pt);
\end{scope}
\end{tikzpicture}
\end{figure}
\end{document}



Question: How to create Report in Openerp
Answer: Have you looked at using webkit? If you know html it will be the easiest approach.

You need to ensure that you have installed the webkit reporting engine and you have installed wkhtmltopdf

Take a look at this link https://www.odoo.com/forum/help-1/question/how-do-i-start-using-webkit-reports-33117