summaryrefslogtreecommitdiffstats
path: root/src/livarot/Shape.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-11-05 05:35:30 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-11-05 05:35:30 +0000
commitfe2bb9c579a55f0a387021660ba24433232dc3a9 (patch)
tree12d623b3ccd9481b364feec316aa88680399a45c /src/livarot/Shape.cpp
parentfix crash reported by Vladimir Savic (diff)
downloadinkscape-fe2bb9c579a55f0a387021660ba24433232dc3a9.tar.gz
inkscape-fe2bb9c579a55f0a387021660ba24433232dc3a9.zip
enable Affiche
(bzr r1900)
Diffstat (limited to 'src/livarot/Shape.cpp')
-rw-r--r--src/livarot/Shape.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp
index 145bbafe5..1a2f63871 100644
--- a/src/livarot/Shape.cpp
+++ b/src/livarot/Shape.cpp
@@ -51,15 +51,13 @@ Shape::~Shape (void)
void Shape::Affiche(void)
{
- /*
- printf("sh=%p nbPt=%i nbAr=%i\n",this,nbPt,nbAr); // localizing ok
- for (int i=0;i<nbPt;i++) {
- printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i,pts[i].x[0],pts[i].x[1],pts[i].dI,pts[i].dO); // localizing ok
+ printf("sh=%p nbPt=%i nbAr=%i\n",this, _pts.size(), _aretes.size()); // localizing ok
+ for (unsigned int i=0; i<_pts.size(); i++) {
+ printf("pt %i : x=(%f %f) dI=%i dO=%i\n",i, _pts[i].x[0], _pts[i].x[1], _pts[i].dI, _pts[i].dO); // localizing ok
}
- for (int i=0;i<nbAr;i++) {
- printf("ar %i : dx=(%f %f) st=%i en=%i\n",i,aretes[i].dx[0],aretes[i].dx[1],aretes[i].st,aretes[i].en); // localizing ok
+ for (unsigned int i=0; i<_aretes.size(); i++) {
+ printf("ar %i : dx=(%f %f) st=%i en=%i\n",i, _aretes[i].dx[0], _aretes[i].dx[1], _aretes[i].st, _aretes[i].en); // localizing ok
}
- */
}
/**