summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Yuan <xu@informatik.hu-berlin.de>2012-02-21 22:27:05 +0100
committerXu Yuan <xu@informatik.hu-berlin.de>2012-02-21 22:27:05 +0100
commitbbaf66966033802d31de93b7834cef479607094e (patch)
tree2679da8de70e1b79926b860059a476b05322b35c
parent0558bc50313dda5f8f6c4387208d87f859b22c8c (diff)
downloadpgf-pie-bbaf66966033802d31de93b7834cef479607094e.tar.gz
pgf-pie-bbaf66966033802d31de93b7834cef479607094e.tar.bz2
pgf-pie-bbaf66966033802d31de93b7834cef479607094e.zip
release 0.2.1: bug fixes
-rw-r--r--release/pgf-pie-0.2.1/demo/before-after-number.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/cloud.svg93
-rw-r--r--release/pgf-pie-0.2.1/demo/cloud.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/color.tex6
-rw-r--r--release/pgf-pie-0.2.1/demo/colorwheel.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/explode.tex7
-rw-r--r--release/pgf-pie-0.2.1/demo/first-pie.svg75
-rw-r--r--release/pgf-pie-0.2.1/demo/first-pie.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/legend.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/polar.svg75
-rw-r--r--release/pgf-pie-0.2.1/demo/polar.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/population.tex27
-rw-r--r--release/pgf-pie-0.2.1/demo/radius.tex7
-rw-r--r--release/pgf-pie-0.2.1/demo/scalefont.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/shadow.tex4
-rw-r--r--release/pgf-pie-0.2.1/demo/square.svg75
-rw-r--r--release/pgf-pie-0.2.1/demo/square.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/sum.tex5
-rw-r--r--release/pgf-pie-0.2.1/demo/texput.log20
-rw-r--r--release/pgf-pie-0.2.1/demo/text-inside.tex3
-rw-r--r--release/pgf-pie-0.2.1/demo/text.tex3
-rw-r--r--release/pgf-pie-0.2.1/logo.pngbin0 -> 9181 bytes
-rw-r--r--release/pgf-pie-0.2.1/pgf-pie-manual.pdfbin0 -> 202715 bytes
-rw-r--r--release/pgf-pie-0.2.1/pgf-pie-manual.tex200
-rw-r--r--release/pgf-pie-0.2.1/pgf-pie.sty439
25 files changed, 1063 insertions, 0 deletions
diff --git a/release/pgf-pie-0.2.1/demo/before-after-number.tex b/release/pgf-pie-0.2.1/demo/before-after-number.tex
new file mode 100644
index 0000000..0a50ebf
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/before-after-number.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[before number={\$}, after number=,]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/cloud.svg b/release/pgf-pie-0.2.1/demo/cloud.svg
new file mode 100644
index 0000000..3fb608e
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/cloud.svg
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="223.928pt" height="173.029pt" viewBox="0 0 223.928 173.029" version="1.1">
+<defs>
+<g>
+<symbol overflow="visible" id="glyph0-0">
+<path style="stroke:none;" d="M 4.625 -8.3125 C 4.578125 -8.46875 4.546875 -8.53125 4.390625 -8.53125 C 4.21875 -8.53125 4.203125 -8.5 4.140625 -8.3125 L 1.640625 -1.15625 C 1.46875 -0.671875 1.140625 -0.359375 0.375 -0.34375 L 0.375 0 C 1.09375 -0.03125 1.125 -0.03125 1.515625 -0.03125 C 1.859375 -0.03125 2.421875 -0.03125 2.734375 0 L 2.734375 -0.34375 C 2.234375 -0.359375 1.9375 -0.609375 1.9375 -0.9375 C 1.9375 -1.015625 1.9375 -1.046875 2 -1.1875 L 2.546875 -2.78125 L 5.5625 -2.78125 L 6.21875 -0.90625 C 6.28125 -0.765625 6.28125 -0.734375 6.28125 -0.703125 C 6.28125 -0.34375 5.671875 -0.34375 5.359375 -0.34375 L 5.359375 0 C 5.640625 -0.03125 6.59375 -0.03125 6.921875 -0.03125 C 7.25 -0.03125 8.109375 -0.03125 8.390625 0 L 8.390625 -0.34375 C 7.609375 -0.34375 7.40625 -0.34375 7.234375 -0.84375 Z M 4.046875 -7.109375 L 5.4375 -3.125 L 2.671875 -3.125 Z M 4.046875 -7.109375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-1">
+<path style="stroke:none;" d="M 3.4375 -7.65625 C 3.4375 -7.9375 3.4375 -7.953125 3.203125 -7.953125 C 2.921875 -7.625 2.3125 -7.1875 1.09375 -7.1875 L 1.09375 -6.84375 C 1.359375 -6.84375 1.953125 -6.84375 2.625 -7.140625 L 2.625 -0.921875 C 2.625 -0.484375 2.578125 -0.34375 1.53125 -0.34375 L 1.15625 -0.34375 L 1.15625 0 C 1.484375 -0.03125 2.640625 -0.03125 3.03125 -0.03125 C 3.4375 -0.03125 4.578125 -0.03125 4.90625 0 L 4.90625 -0.34375 L 4.53125 -0.34375 C 3.484375 -0.34375 3.4375 -0.484375 3.4375 -0.921875 Z M 3.4375 -7.65625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-2">
+<path style="stroke:none;" d="M 5.359375 -3.828125 C 5.359375 -4.8125 5.296875 -5.78125 4.859375 -6.6875 C 4.375 -7.6875 3.515625 -7.953125 2.921875 -7.953125 C 2.234375 -7.953125 1.390625 -7.609375 0.9375 -6.609375 C 0.609375 -5.859375 0.484375 -5.109375 0.484375 -3.828125 C 0.484375 -2.671875 0.578125 -1.796875 1 -0.9375 C 1.46875 -0.03125 2.296875 0.25 2.921875 0.25 C 3.953125 0.25 4.546875 -0.375 4.90625 -1.0625 C 5.328125 -1.953125 5.359375 -3.125 5.359375 -3.828125 Z M 2.921875 0.015625 C 2.53125 0.015625 1.75 -0.203125 1.53125 -1.5 C 1.40625 -2.21875 1.40625 -3.125 1.40625 -3.96875 C 1.40625 -4.953125 1.40625 -5.828125 1.59375 -6.53125 C 1.796875 -7.34375 2.40625 -7.703125 2.921875 -7.703125 C 3.375 -7.703125 4.0625 -7.4375 4.296875 -6.40625 C 4.453125 -5.71875 4.453125 -4.78125 4.453125 -3.96875 C 4.453125 -3.171875 4.453125 -2.265625 4.3125 -1.53125 C 4.09375 -0.21875 3.328125 0.015625 2.921875 0.015625 Z M 2.921875 0.015625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-3">
+<path style="stroke:none;" d="M 9.09375 -1.734375 C 9.09375 -3.109375 8.421875 -4.140625 7.5625 -4.140625 C 6.6875 -4.140625 5.84375 -3.15625 5.84375 -1.75 C 5.84375 -0.28125 6.703125 0.671875 7.5625 0.671875 C 8.421875 0.671875 9.09375 -0.40625 9.09375 -1.734375 Z M 7.578125 0.4375 C 7.40625 0.4375 6.53125 0.34375 6.53125 -1.734375 C 6.53125 -3.84375 7.40625 -3.90625 7.578125 -3.90625 C 8.234375 -3.90625 8.828125 -2.96875 8.828125 -1.75 C 8.828125 -0.484375 8.21875 0.4375 7.578125 0.4375 Z M 8.015625 -8.53125 C 8.09375 -8.640625 8.109375 -8.671875 8.109375 -8.734375 C 8.109375 -8.890625 8 -8.96875 7.90625 -8.96875 C 7.78125 -8.96875 7.75 -8.90625 7.65625 -8.78125 C 6.890625 -7.75 5.875 -7.65625 5.421875 -7.65625 C 5.1875 -7.65625 4.15625 -7.65625 3.1875 -8.59375 C 2.9375 -8.84375 2.671875 -8.96875 2.359375 -8.96875 C 1.5 -8.96875 0.640625 -7.96875 0.640625 -6.5625 C 0.640625 -5.109375 1.5 -4.140625 2.359375 -4.140625 C 3.234375 -4.140625 3.890625 -5.21875 3.890625 -6.546875 C 3.890625 -6.890625 3.875 -7.34375 3.640625 -7.9375 C 4.40625 -7.484375 5.078125 -7.421875 5.421875 -7.421875 C 5.75 -7.421875 6.40625 -7.484375 7.046875 -7.875 L 7.046875 -7.859375 L 1.71875 0.234375 C 1.65625 0.34375 1.625 0.375 1.625 0.4375 C 1.625 0.578125 1.734375 0.671875 1.859375 0.671875 C 1.953125 0.671875 2.015625 0.578125 2.078125 0.5 Z M 2.375 -4.390625 C 2.21875 -4.390625 1.34375 -4.46875 1.34375 -6.546875 C 1.34375 -8.65625 2.203125 -8.71875 2.375 -8.71875 C 3.03125 -8.71875 3.640625 -7.796875 3.640625 -6.5625 C 3.640625 -5.296875 3.03125 -4.390625 2.375 -4.390625 Z M 2.375 -4.390625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph1-0">
+<path style="stroke:none;" d="M 0.609375 -9.796875 L 0.609375 -9.375 L 0.90625 -9.375 C 1.9375 -9.375 1.984375 -9.234375 1.984375 -8.703125 L 1.984375 -1.09375 C 1.984375 -0.5625 1.9375 -0.421875 0.90625 -0.421875 L 0.609375 -0.421875 L 0.609375 0 L 6.015625 0 C 7.859375 0 9.15625 -1.25 9.15625 -2.625 C 9.15625 -3.78125 8.109375 -4.9375 6.390625 -5.125 C 7.765625 -5.375 8.75 -6.296875 8.75 -7.375 C 8.75 -8.609375 7.5 -9.796875 5.625 -9.796875 Z M 3.0625 -5.234375 L 3.0625 -8.8125 C 3.0625 -9.28125 3.09375 -9.375 3.734375 -9.375 L 5.53125 -9.375 C 6.96875 -9.375 7.484375 -8.140625 7.484375 -7.375 C 7.484375 -6.421875 6.734375 -5.234375 5.15625 -5.234375 Z M 3.734375 -0.421875 C 3.09375 -0.421875 3.0625 -0.515625 3.0625 -0.984375 L 3.0625 -4.953125 L 5.75 -4.953125 C 7.125 -4.953125 7.84375 -3.75 7.84375 -2.640625 C 7.84375 -1.484375 6.96875 -0.421875 5.5625 -0.421875 Z M 3.734375 -0.421875 "/>
+</symbol>
+<symbol overflow="visible" id="glyph1-1">
+<path style="stroke:none;" d="M 6.3125 -2.40625 L 6 -2.40625 C 5.953125 -2.171875 5.84375 -1.375 5.6875 -1.140625 C 5.59375 -1.015625 4.78125 -1.015625 4.34375 -1.015625 L 1.6875 -1.015625 C 2.078125 -1.34375 2.953125 -2.265625 3.328125 -2.609375 C 5.515625 -4.625 6.3125 -5.359375 6.3125 -6.78125 C 6.3125 -8.4375 5 -9.53125 3.34375 -9.53125 C 1.671875 -9.53125 0.703125 -8.125 0.703125 -6.890625 C 0.703125 -6.15625 1.328125 -6.15625 1.375 -6.15625 C 1.671875 -6.15625 2.046875 -6.375 2.046875 -6.828125 C 2.046875 -7.234375 1.78125 -7.5 1.375 -7.5 C 1.25 -7.5 1.21875 -7.5 1.171875 -7.484375 C 1.453125 -8.46875 2.21875 -9.125 3.15625 -9.125 C 4.375 -9.125 5.125 -8.109375 5.125 -6.78125 C 5.125 -5.5625 4.421875 -4.5 3.59375 -3.578125 L 0.703125 -0.34375 L 0.703125 0 L 5.9375 0 Z M 6.3125 -2.40625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph1-2">
+<path style="stroke:none;" d="M 6.421875 -4.59375 C 6.421875 -5.78125 6.359375 -6.9375 5.84375 -8.03125 C 5.25 -9.21875 4.21875 -9.53125 3.515625 -9.53125 C 2.6875 -9.53125 1.65625 -9.125 1.140625 -7.9375 C 0.734375 -7.03125 0.59375 -6.140625 0.59375 -4.59375 C 0.59375 -3.203125 0.6875 -2.15625 1.203125 -1.140625 C 1.765625 -0.046875 2.75 0.296875 3.5 0.296875 C 4.75 0.296875 5.46875 -0.4375 5.875 -1.28125 C 6.390625 -2.359375 6.421875 -3.765625 6.421875 -4.59375 Z M 3.5 0.015625 C 3.046875 0.015625 2.109375 -0.25 1.84375 -1.8125 C 1.671875 -2.671875 1.671875 -3.765625 1.671875 -4.765625 C 1.671875 -5.9375 1.671875 -7 1.90625 -7.84375 C 2.15625 -8.8125 2.890625 -9.25 3.5 -9.25 C 4.046875 -9.25 4.875 -8.921875 5.15625 -7.6875 C 5.328125 -6.875 5.328125 -5.734375 5.328125 -4.765625 C 5.328125 -3.796875 5.328125 -2.71875 5.171875 -1.84375 C 4.90625 -0.265625 4 0.015625 3.5 0.015625 Z M 3.5 0.015625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph1-3">
+<path style="stroke:none;" d="M 10.921875 -2.078125 C 10.921875 -3.734375 10.09375 -4.984375 9.078125 -4.984375 C 8.03125 -4.984375 7.015625 -3.78125 7.015625 -2.09375 C 7.015625 -0.34375 8.046875 0.796875 9.078125 0.796875 C 10.109375 0.796875 10.921875 -0.484375 10.921875 -2.078125 Z M 9.09375 0.515625 C 8.890625 0.515625 7.84375 0.421875 7.84375 -2.078125 C 7.84375 -4.609375 8.875 -4.6875 9.09375 -4.6875 C 9.890625 -4.6875 10.59375 -3.578125 10.59375 -2.09375 C 10.59375 -0.578125 9.875 0.515625 9.09375 0.515625 Z M 9.625 -10.234375 C 9.703125 -10.375 9.734375 -10.40625 9.734375 -10.484375 C 9.734375 -10.671875 9.59375 -10.75 9.484375 -10.75 C 9.34375 -10.75 9.296875 -10.6875 9.1875 -10.546875 C 8.265625 -9.3125 7.046875 -9.1875 6.5 -9.1875 C 6.21875 -9.1875 4.984375 -9.1875 3.828125 -10.3125 C 3.53125 -10.609375 3.21875 -10.75 2.84375 -10.75 C 1.796875 -10.75 0.78125 -9.5625 0.78125 -7.875 C 0.78125 -6.125 1.8125 -4.984375 2.84375 -4.984375 C 3.875 -4.984375 4.671875 -6.265625 4.671875 -7.859375 C 4.671875 -8.28125 4.640625 -8.8125 4.359375 -9.53125 C 5.296875 -8.984375 6.09375 -8.90625 6.515625 -8.90625 C 6.90625 -8.90625 7.6875 -8.984375 8.453125 -9.453125 L 8.46875 -9.4375 L 2.0625 0.28125 C 1.984375 0.421875 1.953125 0.453125 1.953125 0.53125 C 1.953125 0.6875 2.078125 0.796875 2.21875 0.796875 C 2.359375 0.796875 2.421875 0.703125 2.5 0.609375 Z M 2.859375 -5.265625 C 2.65625 -5.265625 1.609375 -5.359375 1.609375 -7.859375 C 1.609375 -10.390625 2.640625 -10.46875 2.859375 -10.46875 C 3.640625 -10.46875 4.359375 -9.359375 4.359375 -7.875 C 4.359375 -6.359375 3.625 -5.265625 2.859375 -5.265625 Z M 2.859375 -5.265625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph2-0">
+<path style="stroke:none;" d="M 10.6875 -11.6875 C 10.6875 -12 10.671875 -12.015625 10.578125 -12.015625 C 10.5 -12.015625 10.484375 -12 10.359375 -11.796875 L 9.609375 -10.34375 C 8.765625 -11.421875 7.734375 -12.03125 6.40625 -12.03125 C 3.46875 -12.03125 0.796875 -9.4375 0.796875 -5.890625 C 0.796875 -2.3125 3.46875 0.28125 6.421875 0.28125 C 9.0625 0.28125 10.6875 -2.046875 10.6875 -4.03125 C 10.6875 -4.203125 10.6875 -4.265625 10.53125 -4.265625 C 10.40625 -4.265625 10.40625 -4.21875 10.390625 -4.0625 C 10.25 -1.65625 8.515625 -0.171875 6.65625 -0.171875 C 4.90625 -0.171875 2.09375 -1.40625 2.09375 -5.890625 C 2.09375 -10.390625 4.953125 -11.59375 6.625 -11.59375 C 8.578125 -11.59375 9.984375 -9.90625 10.3125 -7.5 C 10.34375 -7.296875 10.34375 -7.265625 10.5 -7.265625 C 10.6875 -7.265625 10.6875 -7.296875 10.6875 -7.609375 Z M 10.6875 -11.6875 "/>
+</symbol>
+<symbol overflow="visible" id="glyph2-1">
+<path style="stroke:none;" d="M 3.8125 -5.859375 C 5.34375 -5.859375 6.015625 -4.53125 6.015625 -3 C 6.015625 -0.9375 4.90625 -0.140625 3.90625 -0.140625 C 3 -0.140625 1.515625 -0.578125 1.046875 -1.90625 C 1.140625 -1.875 1.21875 -1.875 1.3125 -1.875 C 1.71875 -1.875 2.03125 -2.15625 2.03125 -2.59375 C 2.03125 -3.09375 1.65625 -3.328125 1.3125 -3.328125 C 1.015625 -3.328125 0.5625 -3.1875 0.5625 -2.546875 C 0.5625 -0.96875 2.125 0.28125 3.9375 0.28125 C 5.859375 0.28125 7.3125 -1.21875 7.3125 -2.984375 C 7.3125 -4.65625 5.9375 -5.859375 4.3125 -6.046875 C 5.609375 -6.3125 6.875 -7.484375 6.875 -9.0625 C 6.875 -10.40625 5.515625 -11.375 3.953125 -11.375 C 2.390625 -11.375 1.015625 -10.421875 1.015625 -9.046875 C 1.015625 -8.4375 1.46875 -8.328125 1.6875 -8.328125 C 2.046875 -8.328125 2.359375 -8.5625 2.359375 -9 C 2.359375 -9.453125 2.046875 -9.671875 1.6875 -9.671875 C 1.625 -9.671875 1.53125 -9.671875 1.46875 -9.640625 C 1.96875 -10.78125 3.328125 -10.984375 3.921875 -10.984375 C 4.53125 -10.984375 5.671875 -10.6875 5.671875 -9.046875 C 5.671875 -8.5625 5.59375 -7.703125 5.015625 -6.9375 C 4.5 -6.265625 3.90625 -6.234375 3.34375 -6.1875 C 3.25 -6.1875 2.859375 -6.140625 2.796875 -6.140625 C 2.671875 -6.125 2.59375 -6.109375 2.59375 -5.984375 C 2.59375 -5.875 2.625 -5.859375 2.96875 -5.859375 Z M 3.8125 -5.859375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph2-2">
+<path style="stroke:none;" d="M 7.234375 -5.53125 C 7.234375 -6.578125 7.21875 -8.375 6.484375 -9.75 C 5.859375 -10.953125 4.84375 -11.375 3.9375 -11.375 C 3.109375 -11.375 2.0625 -11 1.40625 -9.765625 C 0.71875 -8.46875 0.65625 -6.875 0.65625 -5.53125 C 0.65625 -4.546875 0.671875 -3.046875 1.203125 -1.734375 C 1.953125 0.03125 3.265625 0.28125 3.9375 0.28125 C 4.734375 0.28125 5.9375 -0.046875 6.640625 -1.6875 C 7.15625 -2.875 7.234375 -4.265625 7.234375 -5.53125 Z M 3.9375 0 C 2.84375 0 2.1875 -0.953125 1.953125 -2.25 C 1.75 -3.265625 1.75 -4.75 1.75 -5.71875 C 1.75 -7.046875 1.75 -8.140625 1.984375 -9.1875 C 2.3125 -10.65625 3.265625 -11.109375 3.9375 -11.109375 C 4.65625 -11.109375 5.5625 -10.640625 5.890625 -9.234375 C 6.109375 -8.25 6.125 -7.09375 6.125 -5.71875 C 6.125 -4.59375 6.125 -3.21875 5.921875 -2.203125 C 5.5625 -0.328125 4.546875 0 3.9375 0 Z M 3.9375 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph2-3">
+<path style="stroke:none;" d="M 12.484375 -2.515625 C 12.484375 -4.515625 11.5 -5.96875 10.34375 -5.96875 C 9.171875 -5.96875 7.984375 -4.609375 7.984375 -2.515625 C 7.984375 -0.40625 9.15625 0.953125 10.34375 0.953125 C 11.5 0.953125 12.484375 -0.5 12.484375 -2.515625 Z M 10.359375 0.671875 C 9.921875 0.671875 8.796875 0.265625 8.796875 -2.515625 C 8.796875 -5.296875 9.921875 -5.703125 10.359375 -5.703125 C 11.3125 -5.703125 12.171875 -4.34375 12.171875 -2.515625 C 12.171875 -0.6875 11.3125 0.671875 10.359375 0.671875 Z M 10.984375 -12.296875 C 11.109375 -12.484375 11.125 -12.5 11.125 -12.59375 C 11.125 -12.796875 10.96875 -12.890625 10.828125 -12.890625 C 10.65625 -12.890625 10.59375 -12.78125 10.46875 -12.640625 C 9.46875 -11.203125 8.09375 -11.046875 7.390625 -11.046875 C 5.671875 -11.046875 4.609375 -12.046875 4.28125 -12.359375 C 4.0625 -12.5625 3.734375 -12.890625 3.15625 -12.890625 C 1.984375 -12.890625 0.796875 -11.53125 0.796875 -9.4375 C 0.796875 -7.328125 1.96875 -5.96875 3.15625 -5.96875 C 4.3125 -5.96875 5.28125 -7.421875 5.28125 -9.4375 C 5.28125 -10.625 4.921875 -11.4375 4.875 -11.53125 C 5.921875 -10.859375 6.953125 -10.78125 7.40625 -10.78125 C 8.5 -10.78125 9.296875 -11.1875 9.734375 -11.484375 L 9.75 -11.46875 L 2.3125 0.3125 C 2.15625 0.546875 2.15625 0.578125 2.15625 0.640625 C 2.15625 0.828125 2.3125 0.953125 2.46875 0.953125 C 2.625 0.953125 2.671875 0.859375 2.796875 0.671875 Z M 3.171875 -6.25 C 2.71875 -6.25 1.59375 -6.65625 1.59375 -9.4375 C 1.59375 -12.21875 2.71875 -12.625 3.171875 -12.625 C 4.109375 -12.625 4.96875 -11.265625 4.96875 -9.4375 C 4.96875 -7.609375 4.109375 -6.25 3.171875 -6.25 Z M 3.171875 -6.25 "/>
+</symbol>
+<symbol overflow="visible" id="glyph3-0">
+<path style="stroke:none;" d="M 1.078125 -14.109375 L 1.078125 -13.578125 C 2.5 -13.578125 2.734375 -13.578125 2.734375 -12.640625 L 2.734375 -1.46875 C 2.734375 -0.53125 2.5 -0.53125 1.078125 -0.53125 L 1.078125 0 L 7.640625 0 C 10.96875 0 13.640625 -3.0625 13.640625 -6.9375 C 13.640625 -10.84375 11.015625 -14.109375 7.640625 -14.109375 Z M 4.921875 -0.53125 C 4.09375 -0.53125 4.046875 -0.640625 4.046875 -1.34375 L 4.046875 -12.765625 C 4.046875 -13.46875 4.09375 -13.578125 4.921875 -13.578125 L 7.234375 -13.578125 C 8.9375 -13.578125 12.109375 -12.5625 12.109375 -6.9375 C 12.109375 -4.03125 11.25 -2.84375 10.859375 -2.296875 C 10.375 -1.65625 9.1875 -0.53125 7.234375 -0.53125 Z M 4.921875 -0.53125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph3-1">
+<path style="stroke:none;" d="M 6.9375 -13.359375 C 6.9375 -13.796875 6.921875 -13.8125 6.546875 -13.8125 L 0.40625 -4.046875 L 0.40625 -3.515625 L 5.75 -3.515625 L 5.75 -1.484375 C 5.75 -0.75 5.703125 -0.53125 4.25 -0.53125 L 3.859375 -0.53125 L 3.859375 0 C 4.53125 -0.046875 5.640625 -0.046875 6.34375 -0.046875 C 7.046875 -0.046875 8.15625 -0.046875 8.8125 0 L 8.8125 -0.53125 L 8.421875 -0.53125 C 6.984375 -0.53125 6.9375 -0.75 6.9375 -1.484375 L 6.9375 -3.515625 L 9.046875 -3.515625 L 9.046875 -4.046875 L 6.9375 -4.046875 Z M 5.796875 -12 L 5.796875 -4.046875 L 0.828125 -4.046875 Z M 5.796875 -12 "/>
+</symbol>
+<symbol overflow="visible" id="glyph3-2">
+<path style="stroke:none;" d="M 8.671875 -6.625 C 8.671875 -7.890625 8.65625 -10.03125 7.78125 -11.6875 C 7.015625 -13.140625 5.796875 -13.65625 4.734375 -13.65625 C 3.734375 -13.65625 2.484375 -13.203125 1.6875 -11.71875 C 0.875 -10.15625 0.78125 -8.234375 0.78125 -6.625 C 0.78125 -5.453125 0.8125 -3.65625 1.453125 -2.09375 C 2.328125 0.046875 3.921875 0.328125 4.734375 0.328125 C 5.6875 0.328125 7.125 -0.0625 7.96875 -2.03125 C 8.59375 -3.453125 8.671875 -5.125 8.671875 -6.625 Z M 4.734375 0 C 3.40625 0 2.625 -1.140625 2.328125 -2.703125 C 2.109375 -3.921875 2.109375 -5.703125 2.109375 -6.859375 C 2.109375 -8.453125 2.109375 -9.765625 2.375 -11.03125 C 2.765625 -12.78125 3.921875 -13.328125 4.734375 -13.328125 C 5.578125 -13.328125 6.671875 -12.765625 7.0625 -11.078125 C 7.328125 -9.890625 7.359375 -8.515625 7.359375 -6.859375 C 7.359375 -5.515625 7.359375 -3.859375 7.109375 -2.640625 C 6.671875 -0.390625 5.453125 0 4.734375 0 Z M 4.734375 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph3-3">
+<path style="stroke:none;" d="M 14.96875 -3.015625 C 14.96875 -5.40625 13.796875 -7.171875 12.421875 -7.171875 C 11.015625 -7.171875 9.578125 -5.53125 9.578125 -3.015625 C 9.578125 -0.5 10.984375 1.140625 12.421875 1.140625 C 13.796875 1.140625 14.96875 -0.59375 14.96875 -3.015625 Z M 12.4375 0.8125 C 11.890625 0.8125 10.5625 0.3125 10.5625 -3.015625 C 10.5625 -6.359375 11.890625 -6.84375 12.4375 -6.84375 C 13.578125 -6.84375 14.609375 -5.203125 14.609375 -3.015625 C 14.609375 -0.828125 13.578125 0.8125 12.4375 0.8125 Z M 13.171875 -14.75 C 13.328125 -14.96875 13.34375 -15 13.34375 -15.09375 C 13.34375 -15.34375 13.15625 -15.46875 13 -15.46875 C 12.78125 -15.46875 12.703125 -15.328125 12.5625 -15.15625 C 11.359375 -13.453125 9.703125 -13.265625 8.859375 -13.265625 C 6.796875 -13.265625 5.53125 -14.453125 5.140625 -14.828125 C 4.875 -15.078125 4.484375 -15.46875 3.78125 -15.46875 C 2.375 -15.46875 0.953125 -13.84375 0.953125 -11.3125 C 0.953125 -8.796875 2.359375 -7.171875 3.78125 -7.171875 C 5.171875 -7.171875 6.34375 -8.90625 6.34375 -11.3125 C 6.34375 -12.75 5.90625 -13.71875 5.84375 -13.84375 C 7.109375 -13.03125 8.34375 -12.9375 8.875 -12.9375 C 10.203125 -12.9375 11.15625 -13.421875 11.671875 -13.78125 L 11.6875 -13.75 L 2.765625 0.375 C 2.578125 0.65625 2.578125 0.703125 2.578125 0.765625 C 2.578125 0.984375 2.765625 1.140625 2.953125 1.140625 C 3.140625 1.140625 3.203125 1.03125 3.34375 0.8125 Z M 3.796875 -7.5 C 3.265625 -7.5 1.921875 -8 1.921875 -11.3125 C 1.921875 -14.671875 3.265625 -15.140625 3.796875 -15.140625 C 4.9375 -15.140625 5.96875 -13.515625 5.96875 -11.3125 C 5.96875 -9.125 4.9375 -7.5 3.796875 -7.5 Z M 3.796875 -7.5 "/>
+</symbol>
+</g>
+</defs>
+<g id="surface1">
+<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 26.890688 0.000375 C 26.890688 14.851937 14.851625 26.891 0.0000625 26.891 C -14.8515 26.891 -26.890562 14.851937 -26.890562 0.000375 C -26.890562 -14.851188 -14.8515 -26.89025 0.0000625 -26.89025 C 14.851625 -26.89025 26.890688 -14.851188 26.890688 0.000375 Z M 26.890688 0.000375 " transform="matrix(1,0,0,-1,27.789,88.016)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-0" x="25.352" y="85.791"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-1" x="19.009" y="97.746"/>
+ <use xlink:href="#glyph0-2" x="24.862266" y="97.746"/>
+ <use xlink:href="#glyph0-3" x="30.715532" y="97.746"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 85.941469 47.910531 C 85.941469 68.914437 68.914125 85.941781 47.910219 85.941781 C 26.906313 85.941781 9.878969 68.914437 9.878969 47.910531 C 9.878969 26.906625 26.906313 9.879281 47.910219 9.879281 C 68.914125 9.879281 85.941469 26.906625 85.941469 47.910531 Z M 85.941469 47.910531 " transform="matrix(1,0,0,-1,27.789,88.016)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph1-0" x="73.066" y="37.735"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph1-1" x="65.163" y="51.483"/>
+ <use xlink:href="#glyph1-2" x="72.1869" y="51.483"/>
+ <use xlink:href="#glyph1-3" x="79.210799" y="51.483"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 113.039125 -37.538688 C 113.039125 -11.812125 92.183656 9.039437 66.461 9.039437 C 40.734437 9.039437 19.882875 -11.812125 19.882875 -37.538688 C 19.882875 -63.261344 40.734437 -84.116813 66.461 -84.116813 C 92.183656 -84.116813 113.039125 -63.261344 113.039125 -37.538688 Z M 113.039125 -37.538688 " transform="matrix(1,0,0,-1,27.789,88.016)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph2-0" x="91.099" y="123.021"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph2-1" x="82.305" y="138.906"/>
+ <use xlink:href="#glyph2-2" x="90.199982" y="138.906"/>
+ <use xlink:href="#glyph2-3" x="98.094965" y="138.906"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 195.24225 33.336312 C 195.24225 63.039437 171.164125 87.117562 141.461 87.117562 C 111.753969 87.117562 87.675844 63.039437 87.675844 33.336312 C 87.675844 3.629281 111.753969 -20.448844 141.461 -20.448844 C 171.164125 -20.448844 195.24225 3.629281 195.24225 33.336312 Z M 195.24225 33.336312 " transform="matrix(1,0,0,-1,27.789,88.016)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph3-0" x="165.066" y="51.941"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph3-1" x="154.913" y="70.408"/>
+ <use xlink:href="#glyph3-2" x="164.388823" y="70.408"/>
+ <use xlink:href="#glyph3-3" x="173.864645" y="70.408"/>
+</g>
+</g>
+</svg>
diff --git a/release/pgf-pie-0.2.1/demo/cloud.tex b/release/pgf-pie-0.2.1/demo/cloud.tex
new file mode 100644
index 0000000..fba25f8
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/cloud.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[cloud, text=inside, scale font]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/color.tex b/release/pgf-pie-0.2.1/demo/color.tex
new file mode 100644
index 0000000..cb79b8c
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/color.tex
@@ -0,0 +1,6 @@
+\begin{tikzpicture}
+ \pie[color={black!10, black!20, black!30, black!40}]
+ {10/A, 20/B, 30/C, 40/D}
+
+ \pie[pos={8,0}, color=blue!20] {10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture}
diff --git a/release/pgf-pie-0.2.1/demo/colorwheel.tex b/release/pgf-pie-0.2.1/demo/colorwheel.tex
new file mode 100644
index 0000000..1543fbe
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/colorwheel.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie{10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/explode.tex b/release/pgf-pie-0.2.1/demo/explode.tex
new file mode 100644
index 0000000..94c83fc
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/explode.tex
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ % explode list
+ \pie[explode={0, 0, 0, 0.1}] {10/A, 20/B, 30/C, 40/D}
+
+ % explode all
+ \pie[pos={8,0}, explode=0.1] {10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/first-pie.svg b/release/pgf-pie-0.2.1/demo/first-pie.svg
new file mode 100644
index 0000000..9feb8fe
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/first-pie.svg
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="192.496pt" height="193.022pt" viewBox="0 0 192.496 193.022" version="1.1">
+<defs>
+<g>
+<symbol overflow="visible" id="glyph0-0">
+<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-1">
+<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-2">
+<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-3">
+<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-4">
+<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-5">
+<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-6">
+<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-7">
+<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-8">
+<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-9">
+<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/>
+</symbol>
+</g>
+</defs>
+<g id="surface1">
+<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L 85.040438 -0.00165625 C 85.040438 17.951469 79.349031 35.455375 68.802156 49.978813 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-0" x="181.203" y="65.713"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-1" x="145.945" y="80.023"/>
+ <use xlink:href="#glyph0-2" x="150.9263" y="80.023"/>
+ <use xlink:href="#glyph0-3" x="155.9076" y="80.023"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L 68.802156 49.978813 C 47.149813 79.7835 8.763094 92.260063 -26.272062 80.881156 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-4" x="126.152" y="10.629"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-5" x="103.559" y="48.155"/>
+ <use xlink:href="#glyph0-2" x="108.5403" y="48.155"/>
+ <use xlink:href="#glyph0-3" x="113.5216" y="48.155"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L -26.272062 80.881156 C -55.162687 71.494438 -76.861906 47.400688 -83.178312 17.685844 C -88.190031 -5.884469 -82.963469 -30.486031 -68.799406 -49.982125 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-6" x="3.82" y="65.677"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-7" x="43.891" y="85.178"/>
+ <use xlink:href="#glyph0-2" x="48.8723" y="85.178"/>
+ <use xlink:href="#glyph0-3" x="53.8536" y="85.178"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L -68.799406 -49.982125 C -41.197844 -87.978219 11.981844 -96.404 49.981844 -68.802437 C 71.997469 -52.806344 85.040438 -27.2165 85.040438 -0.00165625 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-8" x="126.116" y="187.624"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-9" x="98.393" y="134.325"/>
+ <use xlink:href="#glyph0-2" x="103.3743" y="134.325"/>
+ <use xlink:href="#glyph0-3" x="108.3556" y="134.325"/>
+</g>
+</g>
+</svg>
diff --git a/release/pgf-pie-0.2.1/demo/first-pie.tex b/release/pgf-pie-0.2.1/demo/first-pie.tex
new file mode 100644
index 0000000..e8c6376
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/first-pie.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/legend.tex b/release/pgf-pie-0.2.1/demo/legend.tex
new file mode 100644
index 0000000..f6665f6
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/legend.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[text=legend]{10/First, 20/Second, 30/Third, 40/Fourth}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/polar.svg b/release/pgf-pie-0.2.1/demo/polar.svg
new file mode 100644
index 0000000..a4442a0
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/polar.svg
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="160.48pt" height="146.966pt" viewBox="0 0 160.48 146.966" version="1.1">
+<defs>
+<g>
+<symbol overflow="visible" id="glyph0-0">
+<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-1">
+<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-2">
+<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-3">
+<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-4">
+<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-5">
+<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-6">
+<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-7">
+<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-8">
+<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-9">
+<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/>
+</symbol>
+</g>
+</defs>
+<g id="surface1">
+<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L 42.5195 0.00165625 C 42.5195 23.482125 23.484344 42.521187 -0.00003125 42.521187 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-0" x="108.826" y="26.747"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-1" x="82.904" y="46.996"/>
+ <use xlink:href="#glyph0-2" x="87.8853" y="46.996"/>
+ <use xlink:href="#glyph0-3" x="92.8666" y="46.996"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -0.00003125 60.130562 C -33.210969 60.130562 -60.132844 33.208687 -60.132844 0.00165625 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-4" x="20.75" y="14.293"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-5" x="40.672" y="39.75"/>
+ <use xlink:href="#glyph0-2" x="45.6533" y="39.75"/>
+ <use xlink:href="#glyph0-3" x="50.6346" y="39.75"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -73.644563 0.00165625 C -73.644563 -40.674125 -40.675813 -73.646781 -0.00003125 -73.646781 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-6" x="11.056" y="124.129"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-7" x="35.112" y="94.787"/>
+ <use xlink:href="#glyph0-2" x="40.0933" y="94.787"/>
+ <use xlink:href="#glyph0-3" x="45.0746" y="94.787"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -0.00003125 -85.037406 C 46.964812 -85.037406 85.039031 -46.967094 85.039031 0.00165625 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-8" x="138.891" y="132.185"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-9" x="100.397" y="99.474"/>
+ <use xlink:href="#glyph0-2" x="105.3783" y="99.474"/>
+ <use xlink:href="#glyph0-3" x="110.3596" y="99.474"/>
+</g>
+</g>
+</svg>
diff --git a/release/pgf-pie-0.2.1/demo/polar.tex b/release/pgf-pie-0.2.1/demo/polar.tex
new file mode 100644
index 0000000..4d86872
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/polar.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[polar]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/population.tex b/release/pgf-pie-0.2.1/demo/population.tex
new file mode 100644
index 0000000..9267acb
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/population.tex
@@ -0,0 +1,27 @@
+% data from http://en.wikipedia.org/wiki/List_of_countries_by_population
+\begin{tikzpicture}
+ \pie[cloud, rotate=45, sum=auto, radius=35, after number=, text=pin] {1339/China,
+ 1210/India, 312/USA, 237/Indonesia, 190/Brazil, 177/Pakistan,
+ 158/Nigeria, 151/Bangladesh, 142/Russia, 127/Japan, 112/Mexico,
+ 94/Philippines, 87/Vietnam, 82/Ethiopia, 81/Germany, 80/Egypt,
+ 75/Iran, 73/Turkey, 67/Thailand, 65/Congo, 65/France, 62/UK,
+ 60/Italy, 50/South Africa, 48/South Korea, 47/Myanmar, 46/Spain,
+ 46/Colombia, 45/Ukraine, 43/Tanzania, 40/Argentina, 38/Kenya,
+ 38/Poland, 36/Algeria, 34/Canada, 32/Morocco, 31/Uganda, 31/Iraq,
+ 31/Afghanistan, 30/Sudan, 29/Peru, 29/Venezuela, 28/Nepal,
+ 28/Malaysia, 27/Uzbekistan, 27/Saudi Arabia, 24/Ghana, 24/North
+ Korea, 23/Syria, 23/Taiwan, 22/Australia, 22/Yemen, 21/Romania,
+ 20/Madagascar, 20/Sri Lanka, 20/Mozambique, 19/Cote d'Ivoire,
+ 19/Cameroon, 19/Angola, 17/Chile, 16/Netherlands, 16/Kazakhstan,
+ 15/Burkina Faso, 15/Niger, 14/Malawi, 14/Mali, 14/Guatemala,
+ 14/Ecuador, 13/Cambodia, 13/Zambia, 12/Zimbabwe, 12/Senegal,
+ 11/Cuba, 11/Chad, 10/Belgium, 10/Greece, 10/Portugal, 10/Tunisia,
+ 10/Czech Republic, 10/Bolivia, 10/Rwanda, 10/Haiti, 10/Hungary,
+ 10/Guinea, 10/Belarus, 9/Sweden, 9/Dominican Republic, 9/Somalia,
+ 9/Azerbaijan, 9/Benin, 8/Austria, 8/Burundi, 8/United Arab
+ Emirates, 8/South Sudan, 8/Honduras, 8/Switzerland, 8/Israel,
+ 7/Bulgaria, 7/Serbia, 7/Hong Kong }
+
+ % \node[circle,draw=black,thick, fill=white, font=\bf]
+ % {Population of the world};
+\end{tikzpicture}
diff --git a/release/pgf-pie-0.2.1/demo/radius.tex b/release/pgf-pie-0.2.1/demo/radius.tex
new file mode 100644
index 0000000..944e218
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/radius.tex
@@ -0,0 +1,7 @@
+\begin{tikzpicture}
+ \pie{10/, 20/, 30/, 40/}
+
+ \pie[pos={8,0}, rotate=180]{10/, 20/, 30/, 40/}
+
+ \pie[pos={17,0}, radius=4]{10/, 20/, 30/, 40/}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/scalefont.tex b/release/pgf-pie-0.2.1/demo/scalefont.tex
new file mode 100644
index 0000000..df61709
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/scalefont.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[scale font]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/shadow.tex b/release/pgf-pie-0.2.1/demo/shadow.tex
new file mode 100644
index 0000000..9ccfd9f
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/shadow.tex
@@ -0,0 +1,4 @@
+% \usetikzlibrary{shadows}
+\begin{tikzpicture}
+ \pie[style=drop shadow]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture}
diff --git a/release/pgf-pie-0.2.1/demo/square.svg b/release/pgf-pie-0.2.1/demo/square.svg
new file mode 100644
index 0000000..8e0a48f
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/square.svg
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186.625pt" height="185.823pt" viewBox="0 0 186.625 185.823" version="1.1">
+<defs>
+<g>
+<symbol overflow="visible" id="glyph0-0">
+<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-1">
+<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-2">
+<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-3">
+<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-4">
+<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-5">
+<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-6">
+<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-7">
+<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-8">
+<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-9">
+<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/>
+</symbol>
+</g>
+</defs>
+<g id="surface1">
+<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -85.039563 -85.040781 L -85.039563 85.04125 L -17.012219 85.04125 L -17.012219 -85.040781 Z M -85.039563 -85.040781 " transform="matrix(1,0,0,-1,85.938,99.885)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-0" x="25.78" y="103.344"/>
+ <use xlink:href="#glyph0-1" x="30.7613" y="103.344"/>
+ <use xlink:href="#glyph0-2" x="35.7426" y="103.344"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-3" x="31.177" y="10.629"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -17.012219 -85.040781 L -17.012219 -0.005625 L 85.038562 -0.005625 L 85.038562 -85.040781 Z M -17.012219 -85.040781 " transform="matrix(1,0,0,-1,85.938,99.885)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-4" x="110.82" y="145.867"/>
+ <use xlink:href="#glyph0-1" x="115.8013" y="145.867"/>
+ <use xlink:href="#glyph0-2" x="120.7826" y="145.867"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-5" x="175.194" y="145.812"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -17.012219 -0.005625 L -17.012219 85.04125 L 51.011219 85.04125 L 51.011219 -0.005625 Z M -17.012219 -0.005625 " transform="matrix(1,0,0,-1,85.938,99.885)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-6" x="93.806" y="60.828"/>
+ <use xlink:href="#glyph0-1" x="98.7873" y="60.828"/>
+ <use xlink:href="#glyph0-2" x="103.7686" y="60.828"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-7" x="99.341" y="10.629"/>
+</g>
+<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 51.011219 -0.005625 L 51.011219 84.998281 L 85.038562 84.998281 L 85.038562 -0.005625 Z M 51.011219 -0.005625 " transform="matrix(1,0,0,-1,85.938,99.885)"/>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-8" x="144.831" y="60.848"/>
+ <use xlink:href="#glyph0-1" x="149.8123" y="60.848"/>
+ <use xlink:href="#glyph0-2" x="154.7936" y="60.848"/>
+</g>
+<g style="fill:rgb(0%,0%,0%);fill-opacity:1;">
+ <use xlink:href="#glyph0-9" x="175.194" y="60.793"/>
+</g>
+</g>
+</svg>
diff --git a/release/pgf-pie-0.2.1/demo/square.tex b/release/pgf-pie-0.2.1/demo/square.tex
new file mode 100644
index 0000000..dd37da6
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/square.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[square]{40/A, 30/B, 20/C, 10/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/sum.tex b/release/pgf-pie-0.2.1/demo/sum.tex
new file mode 100644
index 0000000..13e2b73
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/sum.tex
@@ -0,0 +1,5 @@
+\begin{tikzpicture}
+ \pie[sum=auto, after number=, radius=2]{33/Boys, 7/Girls}
+
+ \pie[pos={6,0}, sum=40, after number=, radius=2]{33/Boys}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/texput.log b/release/pgf-pie-0.2.1/demo/texput.log
new file mode 100644
index 0000000..f691327
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/texput.log
@@ -0,0 +1,20 @@
+This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2011.5.2) 1 OCT 2011 22:44
+entering extended mode
+ %&-line parsing enabled.
+**pgf-pie-manual.tex
+
+! Emergency stop.
+<*> pgf-pie-manual.tex
+
+End of file on the terminal!
+
+
+Here is how much of TeX's memory you used:
+ 4 strings out of 495061
+ 116 string characters out of 1182622
+ 45108 words of memory out of 3000000
+ 3282 multiletter control sequences out of 15000+50000
+ 3640 words of font info for 14 fonts, out of 3000000 for 9000
+ 28 hyphenation exceptions out of 8191
+ 0i,0n,0p,22b,6s stack positions out of 5000i,500n,10000p,200000b,50000s
+! ==> Fatal error occurred, no output PDF file produced!
diff --git a/release/pgf-pie-0.2.1/demo/text-inside.tex b/release/pgf-pie-0.2.1/demo/text-inside.tex
new file mode 100644
index 0000000..07cf42e
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/text-inside.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[text=inside]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/demo/text.tex b/release/pgf-pie-0.2.1/demo/text.tex
new file mode 100644
index 0000000..95ef108
--- /dev/null
+++ b/release/pgf-pie-0.2.1/demo/text.tex
@@ -0,0 +1,3 @@
+\begin{tikzpicture}
+ \pie[text=pin]{10/A, 20/B, 30/C, 40/D}
+\end{tikzpicture} \ No newline at end of file
diff --git a/release/pgf-pie-0.2.1/logo.png b/release/pgf-pie-0.2.1/logo.png
new file mode 100644
index 0000000..68959bc
--- /dev/null
+++ b/release/pgf-pie-0.2.1/logo.png
Binary files differ
diff --git a/release/pgf-pie-0.2.1/pgf-pie-manual.pdf b/release/pgf-pie-0.2.1/pgf-pie-manual.pdf
new file mode 100644
index 0000000..24dd816
--- /dev/null
+++ b/release/pgf-pie-0.2.1/pgf-pie-manual.pdf
Binary files differ
diff --git a/release/pgf-pie-0.2.1/pgf-pie-manual.tex b/release/pgf-pie-0.2.1/pgf-pie-manual.tex
new file mode 100644
index 0000000..8afb987
--- /dev/null
+++ b/release/pgf-pie-0.2.1/pgf-pie-manual.tex
@@ -0,0 +1,200 @@
+% Manual of pgf-pie.sty, a convenient set of macros for drawing pie
+% chart. Written by Xu Yuan <xuyuan.cn@gmail.com> This file is part of
+% pgf-pie you may get it at http://code.google.com/p/pgf-pie/
+
+\documentclass{article}
+\usepackage[margin=12mm]{geometry}
+\usepackage{hyperref}
+
+\usepackage{pgf-pie}
+\usetikzlibrary{shadows}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{listings}
+\usepackage{color}
+\definecolor{listinggray}{gray}{0.92}
+\lstset{ %
+language=[LaTeX]TeX,
+breaklines=true,
+frame=single,
+% frameround=tttt,
+basicstyle=\footnotesize\ttfamily,
+backgroundcolor=\color{listinggray},
+keywordstyle=\color{blue}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\hypersetup{
+ colorlinks=true,
+ linkcolor=blue,
+ anchorcolor=black,
+ citecolor=olive,
+ filecolor=magenta,
+ menucolor=red,
+ urlcolor=blue
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\demo}[2][1]{
+ \begin{center}
+ \begin{tabular}{cc}
+ \begin{minipage}{.49\linewidth}
+ \centering
+ \resizebox{#1\linewidth}{!}{
+ \input{demo/#2}
+ }
+ \end{minipage}
+ &
+ \begin{minipage}{.45\linewidth}
+ \lstinputlisting{demo/#2}
+ \end{minipage}
+ \end{tabular}
+ \end{center}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\example}[2][1]{
+ \begin{center}
+ \resizebox{#1\linewidth}{!}{
+ \input{demo/#2}
+ }
+ \end{center}
+ \lstinputlisting{demo/#2}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\title{Drawing Pie Chart by using \texttt{pgf-pie}}
+\author{\href{mailto:xuyuan.cn@gmail.com}{Yuan Xu}}
+\date{\today{}~(v0.2)}
+\maketitle
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{abstract}
+ \texttt{pgf-pie} is a LaTeX package for drawing pie chart (and
+ variant charts). As stated by its name, it is based on a very
+ popular graphic package \texttt{PGF/TikZ}. This document presents
+ the usage of \texttt{pgf-pie} and collects some pie charts as
+ examples. \texttt{pgf-pie} can be downloaded from
+ \href{http://code.google.com/p/pgf-pie/}{http://code.google.com/p/pgf-pie/}.
+\end{abstract}
+
+\tableofcontents
+
+\section{Usage}
+
+\subsection{First Pie}
+\lstinline|\pie| is the only coomand that provided by
+\texttt{pgf-pie}. The argument is a list of number and text
+combination in the formate of \texttt{number/text}, i.e. \texttt{10/A,
+ 20/B, 30/C, 40/D}. The result is shown in figure \ref{fig:first-pie}.
+\begin{figure}
+ \centering
+ \demo[0.6]{first-pie}
+ \caption{The first pie.}
+ \label{fig:first-pie}
+\end{figure}
+
+\subsection{Position, Rotation, Size}
+
+The center of chart can be set by \texttt{pos}, default is
+\texttt{\{0,0\}}. The chart can be rotated by setting \texttt{rotate}
+(in degrees). The size of chart can be set by \texttt{radius}, default
+is 3.
+
+\demo{radius}
+
+\subsection{Color}
+The color can be specified by \texttt{color}, the default color wheel
+is shown in figure \ref{fig:color-wheel}.
+\begin{figure}
+ \centering
+ \input{demo/colorwheel}
+ \caption{Default color wheel}
+ \label{fig:color-wheel}
+\end{figure}
+
+\demo{color}
+
+\subsection{Explode}
+\demo{explode}
+
+\subsection{Angle of slices}
+The value of \texttt{sum} indicats the sum of all data in the chart,
+it is 100 by default. It can be calculated automatically when
+\texttt{auto} is set. Then the angle of slices are determined by
+number value and \texttt{sum}.
+
+\demo{sum}
+
+\subsection{Text}
+
+\subsubsection{Number}
+Two parameters can be used to decorate number: \texttt{before number}
+and \texttt{after number}. Both are empty by default, but if
+\texttt{sum=100}, \texttt{after number} will be set to \%
+automatically if user doesn't set it.
+
+\demo[0.6]{before-after-number}
+
+\paragraph{Scale font}
+The size of font in size pie can be scaled according to how big the
+part is automatically.
+
+\demo[0.6]{scalefont}
+
+\subsubsection{Label text}
+The value of \texttt{text} can be \texttt{label}(default),
+\texttt{pin}, \texttt{inside} or \texttt{legend}.
+
+\demo[0.6]{text}
+
+\demo[0.5]{text-inside}
+
+\demo[0.6]{legend}
+
+\subsection{More about style}
+\subsubsection{shadow}
+\demo[0.6]{shadow}
+
+\section{Variant Charts}
+\subsection{Polar area diagram}
+The polar area diagram is similar to a usual pie chart, except sectors
+are equal angles and differ rather in how far each sector extends from
+the center of the circle.
+
+\demo[0.6]{polar}
+
+\subsection{Square}
+
+\demo[0.6]{square}
+
+Note: \texttt{explode} has no affects in sqaure chart.
+
+\subsection{Clouds}
+
+\demo[0.6]{cloud}
+
+\section{Examples}
+
+% \subsection{Population of the world}
+% \example{population}
+
+\section{Acknowledgements}
+Many people contributed to \texttt{pgf-pie} by reporting problems,
+suggesting various improvements or submitting code. Here is a list of
+these people:
+\href{mailto:mohammed.alfaki@ii.uib.no}{Mohammed Alfaki},
+and
+\href{mailto:ldrude@mail.uni-paderborn.de}{Lukas Drude}
+.
+
+\end{document}
+%%% Local Variables:
+%%% mode: Tex-PDF
+%%% TeX-master: t
+%%% End:
diff --git a/release/pgf-pie-0.2.1/pgf-pie.sty b/release/pgf-pie-0.2.1/pgf-pie.sty
new file mode 100644
index 0000000..6a669e3
--- /dev/null
+++ b/release/pgf-pie-0.2.1/pgf-pie.sty
@@ -0,0 +1,439 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Start of pgf-pie.sty
+%
+% Some LaTeX macros for pie chart by using PGF/Tikz package.
+% Home page of project: http://pgf-pie.googlecode.com/
+% Author: Xu Yuan <xuyuan.cn@gmail.com>
+%
+
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{pgf-pie}[2011/10/02 v0.2 Some LaTeX macros for pie
+chart by using PGF/Tikz package.]
+
+\RequirePackage{tikz}
+\RequirePackage{ifthen}
+\RequirePackage{scalefnt}
+
+
+% args:
+% #1: begin angle
+% #2: end angle
+% #3: number
+% #4: label
+% #5: explode
+% #6: fill color
+% #7: radius
+% #8: center
+\newcommand{\pgfpie@slice}[8]{
+ \pgfmathparse{0.5*(#1)+0.5*(#2)}
+ \let\midangle\pgfmathresult
+
+ \path (#8) -- ++(\midangle:#5) coordinate(O);
+
+ \pgfmathparse{#7+#5}
+ \let\radius\pgfmathresult
+
+ % slice
+ \draw[line join=round, fill=#6, \style] (O) -- ++(#1:#7) arc (#1:#2:#7) -- cycle;
+
+ \pgfmathparse{min(((#2)-(#1)-10)/110*(-0.3),0)}
+ \let\temp\pgfmathresult
+ \pgfmathparse{(max(\temp,-0.5) + 0.8)*#7}
+ \let\innerpos\pgfmathresult
+
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {
+ % label and number together
+ \path (O) -- ++(\midangle:\innerpos) node
+ {\scalefont{#3}\shortstack{#4\\\beforenumber#3\afternumber}};
+ }
+ {
+ % label
+ \iflegend
+ \else
+ \path (O) -- ++ (\midangle:\radius)
+ node[inner sep=0, \pgfpie@text=\midangle:#4]{};
+ \fi
+
+ % number
+ \path (O) -- ++(\midangle:\innerpos) node
+ {\scalefont{#3}\beforenumber#3\afternumber};
+ }
+}
+
+\newcommand{\pgfpie@findColor}[1]
+{
+ \pgfmathparse{int(mod(#1,\value{pgfpie@colorLength}))}
+ \let\ci\pgfmathresult
+ \foreach \c [count=\j from 0] in \color {
+ \ifnum \j=\ci
+ \xdef\thecolor{\c}
+ \thecolor
+ \breakforeach
+ \fi
+ }
+}
+
+\newcommand{\pgfpie@findExplode}[1]
+{
+ \pgfmathparse{int(mod(#1,\value{pgfpie@explodeLength}))}
+ \let\ei\pgfmathresult
+ \foreach \e [count=\j from 0] in \explode {
+ \ifnum \j=\ei
+ \xdef\theexplode{\e}
+ \breakforeach
+ \fi
+ }
+}
+
+% #1: bottom left point
+% #2: size
+% #3: number
+% #4: color
+% #5: text
+\newcommand{\pgfpie@square}[5]
+{
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {
+ \draw[fill=#4, \style] (#1) rectangle node
+ {\scalefont{#3}\shortstack{#5\\\beforenumber#3\afternumber}} ++(#2);
+ }
+ {
+ \draw[fill=#4, \style] (#1) rectangle node
+ {\scalefont{#3}\beforenumber#3\afternumber} ++(#2);
+ }
+}
+
+% #1: pos
+% #2: radius
+% #3: number
+% #4: color
+% $5: style
+% $6: label
+\newcommand{\pgfpie@cloud}[6]
+{
+ \draw[fill=#4, #5] (#1) circle[radius=#2];
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {
+ \node at (#1) {\scalefont{#3}\shortstack{#6\\\beforenumber#3\afternumber}};
+ }
+ {
+ \node at (#1) {\scalefont{#3}\beforenumber#3\afternumber};
+ }
+}
+
+\newlength{\pgfpie@angleEnd}
+\newcounter{pgfpie@explodeLength}
+\newcounter{pgfpie@colorLength}
+\newcounter{pgfpie@sliceLength}
+
+\def\setexplode#1\pgfeov{\def\explode{#1}}
+\pgfkeyslet{/explode/.@cmd}{\setexplode}
+
+\def\setcolor#1\pgfeov{\def\color{#1}}
+\pgfkeyslet{/color/.@cmd}{\setcolor}
+
+\def\setradius#1\pgfeov{\def\radius{#1}}
+\pgfkeyslet{/radius/.@cmd}{\setradius}
+
+\def\setpos#1\pgfeov{\def\pos{#1}}
+\pgfkeyslet{/pos/.@cmd}{\setpos}
+
+\def\setstyle#1\pgfeov{\def\style{#1}}
+\pgfkeyslet{/style/.@cmd}{\setstyle}
+
+\def\setbeforenumber#1\pgfeov{\def\beforenumber{#1}}
+\pgfkeyslet{/before number/.@cmd}{\setbeforenumber}
+
+\def\setafternumber#1\pgfeov{\def\afternumber{#1}}
+\pgfkeyslet{/after number/.@cmd}{\setafternumber}
+
+\def\settext#1\pgfeov{\xdef\pgfpie@text{#1}}
+\pgfkeyslet{/text/.@cmd}{\settext}
+
+\def\setsum#1\pgfeov{\xdef\pgfpie@sum{#1}}
+\pgfkeyslet{/sum/.@cmd}{\setsum}
+
+\def\setrotate#1\pgfeov{\xdef\rotate{#1}}
+\pgfkeyslet{/rotate/.@cmd}{\setrotate}
+
+\newif\ifpolar
+\pgfkeys{/polar/.is if=polar}
+
+\newif\iflegend
+
+\newif\ifsquare
+\pgfkeys{/square/.is if=square}
+
+\newif\ifcloud
+\pgfkeys{/cloud/.is if=cloud}
+
+\newif\ifscalefont
+\pgfkeys{/scale font/.is if=scalefont}
+\let\scalefontorg\scalefont
+\renewcommand{\scalefont}[1]
+{
+ \ifscalefont
+ \pgfmathparse{#1 / \pgfpie@sum * 3 + 0.9}
+ \scalefontorg{\pgfmathresult}
+ \fi
+}
+
+\newcommand{\pie}[2][]
+{
+ % load default parameters
+ \pgfkeys{
+ explode=0,
+ color={blue!60, cyan!60, yellow!60, orange!60, red!60,
+ blue!60!cyan!60, cyan!60!yellow!60, red!60!cyan!60,
+ red!60!blue!60, orange!60!cyan!60},
+ radius=3,
+ pos={0,0},
+ style={thick},
+ before number=,
+ after number=,
+ text=label,
+ sum=100,
+ rotate=0,
+ polar=false,
+ square=false,
+ cloud=false,
+ scale font=false,
+ }
+ % load user's parameters
+ \pgfkeys{#1}
+ % add percentage automatically
+ \ifthenelse{\equal{\pgfpie@sum}{100}}
+ {
+ \pgfkeys{after number=\%}
+ \pgfkeys{#1}
+ }{}
+
+ % legend or not
+ \ifthenelse{\equal{\pgfpie@text}{legend}}
+ {\legendtrue}
+ {\legendfalse}
+
+ % handle sum
+ \ifthenelse{\equal{\pgfpie@sum}{auto}}
+ {
+ % sum all input
+ \xdef\pgfpie@sum{0}
+ \foreach \p/\t in {#2}
+ {
+ \pgfmathparse{\pgfpie@sum + \p}
+ \xdef\pgfpie@sum{\pgfmathresult}
+ }
+ }
+ {}
+
+ % init counters
+ \setcounter{pgfpie@explodeLength}{0}
+ \foreach \e in \explode { \addtocounter{pgfpie@explodeLength}{1} }
+
+ \setcounter{pgfpie@colorLength}{0}
+ \foreach \c in \color { \addtocounter{pgfpie@colorLength}{1} }
+
+ \pgfmathsetlength{\pgfpie@angleEnd}{0}
+
+ \setcounter{pgfpie@sliceLength}{0}
+ \foreach \p/\e in {#2} { \addtocounter{pgfpie@sliceLength}{1} }
+
+ \ifsquare
+ %%%%%%%%%% SQUARE PIE BEGIN %%%%%%%%%%%
+ \pgfmathparse{\radius*2}
+ \xdef\verticalLength{\pgfmathresult}
+ \xdef\horizontalLength{\pgfmathresult}
+ \path (\pos) -- ++(-\radius, -\radius) coordinate (start);
+ \pgfmathparse{\verticalLength * \horizontalLength / \pgfpie@sum}
+ \let\squareUnit\pgfmathresult
+
+ % drawing loop
+ \foreach \p/\t [count=\i from 0] in {#2}
+ {
+ \pgfpie@findColor{\i}
+
+ \ifthenelse{\lengthtest{\verticalLength cm > \horizontalLength cm}}
+ {
+ \pgfmathparse{\p * \squareUnit / \horizontalLength}
+ \let\height\pgfmathresult
+
+ \pgfpie@square{start}{\horizontalLength,\height}
+ {\p}
+ {\thecolor}
+ {\t}
+ %label
+ \iflegend
+ \else
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {}
+ {
+ \path (start) -- ++(\horizontalLength,\height*0.5) node[inner
+ sep=0, \pgfpie@text=0:\t]{};
+ }
+ \fi
+
+ \pgfmathparse{\verticalLength - \height}
+ \xdef\verticalLength{\pgfmathresult}
+ \path (start) -- ++(0, \height) coordinate (start);
+ }
+ {
+ \pgfmathparse{\p * \squareUnit / \verticalLength }
+ \let\width\pgfmathresult
+
+ \pgfpie@square{start}{\width,\verticalLength}
+ {\p}
+ {\thecolor}
+ {\t}
+ %label
+ \iflegend
+ \else
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {}
+ {
+ \path (start) -- ++(\width*0.5,\verticalLength) node[inner
+ sep=0, \pgfpie@text=90:\t]{};
+ }
+ \fi
+
+ \pgfmathparse{\horizontalLength - \width}
+ \xdef\horizontalLength{\pgfmathresult}
+ \path (start) -- ++(\width, 0) coordinate (start);
+ }
+ }
+
+ %%%%%%%%%% SQUARE PIE END %%%%%%%%%%%
+ \else
+ \ifcloud
+ %%%%%%%%%% CLOUD PIE BGEIN %%%%%%%%%%%
+ % drawing loop
+ \foreach \p/\t [count=\i from 0] in {#2}
+ {
+ % find explode
+ \pgfpie@findExplode{\i}
+ \def\cloudGap{\theexplode + 0.1}
+ \pgfmathparse{sqrt(\p / \pgfpie@sum) * \radius}
+ \let\cloudR\pgfmathresult
+ \ifnum \i = 0
+ % first cloud
+ \coordinate (O) at (\pos);
+ \xdef\cloudRone{\cloudR}
+ \xdef\cloudExtendDir{180+\rotate}
+ \else
+ \ifnum \i = 1
+ % second cloud
+ \xdef\cloudRtwo{\cloudR}
+ \xdef\cloudExtendDir{45+\rotate}
+ \path (O) -- ++(\cloudExtendDir:\cloudRone+\cloudGap+\cloudRtwo) coordinate (O);
+ \else
+ % next cloud
+ \pgfmathparse{\cloudRone+\cloudGap+\cloudRtwo}
+ \let\la\pgfmathresult
+ \pgfmathparse{\cloudRone+\cloudGap+\cloudR}
+ \let\lb\pgfmathresult
+ \pgfmathparse{\cloudRtwo+\cloudGap+\cloudR}
+ \let\lc\pgfmathresult
+ \pgfmathparse{\la^2+\lc^2-\lb^2}
+ \let\tmp\pgfmathresult
+ \pgfmathparse{180 - acos(\tmp / 2 / \la / \lc)}
+ \let\cloudRot\pgfmathresult
+ \ifodd \i
+ \pgfmathparse{-\cloudRot}
+ \let\cloudRot\pgfmathresult
+ \fi
+ \pgfmathparse{\cloudExtendDir - \cloudRot}
+ \xdef\cloudExtendDir{\pgfmathresult}
+ \path (O) -- ++(\cloudExtendDir:\lc) coordinate (O);
+ \xdef\cloudRone{\cloudRtwo}
+ \xdef\cloudRtwo{\cloudR}
+ \fi
+ \fi
+
+ % find color
+ \pgfpie@findColor{\i}
+
+ \pgfpie@cloud{O}{\cloudR}{\p}
+ {\thecolor}{\style}{\t}
+
+ % label
+ \iflegend
+ \else
+ \ifthenelse{\equal{\pgfpie@text}{inside}}
+ {}
+ {
+ \path (O) -- ++(\cloudExtendDir:\cloudR)
+ node[inner sep=0, \pgfpie@text=\cloudExtendDir:\t] {};
+ }
+ \fi
+ }
+ %%%%%%%%%% CLOUD PIE BGEIN %%%%%%%%%%%
+ \else
+ %%%%%%%%%% CIRCLE PIE BGEIN %%%%%%%%%%%
+ \ifpolar
+ \xdef\maxValue{0}
+ \foreach \p/\e in {#2} {
+ \ifnum \maxValue < \p
+ \xdef\maxValue{\p}
+ \fi
+ }
+ \pgfmathparse{\pgfpie@sum / \value{pgfpie@sliceLength}}
+ \xdef\polarangle{\pgfmathresult}
+ \pgfmathparse{\radius / sqrt(\maxValue)}
+ \xdef\polarRadiusUnit{\pgfmathresult}
+ \else
+ \xdef\theradius{\radius}
+ \fi
+
+ \xdef\pgfpie@angleBegin{\the\pgfpie@angleEnd}
+ % drawing loop
+ \foreach \p/\t [count=\i from 0] in {#2}
+ {
+ \pgfmathsetlength{\pgfpie@angleEnd}{\pgfpie@angleBegin}
+ \ifpolar
+ % Polar area diagram
+ \pgfmathaddtolength{\pgfpie@angleEnd}{\polarangle}
+ \pgfmathparse{sqrt(\p) * \polarRadiusUnit}
+ \xdef\theradius{\pgfmathresult}
+ \else
+ % normal pie
+ \pgfmathaddtolength{\pgfpie@angleEnd}{\p}
+ \fi
+
+ % find explode
+ \pgfpie@findExplode{\i}
+
+ % find color
+ \pgfpie@findColor{\i}
+ \pgfpie@slice{\pgfpie@angleBegin/\pgfpie@sum*360+\rotate}
+ {\the\pgfpie@angleEnd/\pgfpie@sum*360+\rotate}
+ {\p}
+ {\t}
+ {\theexplode}
+ {\thecolor}
+ {\theradius}
+ {\pos}
+ \xdef\pgfpie@angleBegin{\the\pgfpie@angleEnd}
+ }
+ %%%%%%%%%% CIRCLE PIE END %%%%%%%%%%%
+ \fi
+ \fi
+
+ % legend
+ \iflegend
+ \coordinate[xshift=0.8cm,
+ yshift=(\value{pgfpie@sliceLength}*0.5+1)*0.5cm] (legendpos) at
+ (current bounding box.east);
+
+ \begin{scope}[node distance=0.5cm]
+ \foreach \p/\t [count=\i from 0] in {#2}
+ {
+ \pgfpie@findColor{\i}
+ \node[draw, fill=\thecolor, \style, below of=legendpos, label=0:\t] (legendpos) {};
+ }
+ \end{scope}
+ \fi
+}
+
+%%% End of pgf-pie.sty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+