[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/ksvg
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2003-07-25 20:01:52
[Download RAW message or body]

CVS commit by buis: 

Removing unneeded bits.


  M +0 -12     core/canvasitems.h   1.15
  M +0 -15     impl/SVGPathElementImpl.cc   1.137
  M +0 -1      impl/SVGPathElementImpl.h   1.59


--- kdenonbeta/ksvg/core/canvasitems.h  #1.14:1.15
@@ -25,17 +25,5 @@
 #include "SVGLineElementImpl.h"
 #include "SVGPathElementImpl.h"
-#include "SVGPathSegArcImpl.h"
 #include "SVGPathSegListImpl.h"
-#include "SVGPathElementImpl.h"
-#include "SVGPathSegLinetoImpl.h"
-#include "SVGPathSegMovetoImpl.h"
-#include "SVGAnimatedNumberImpl.h"
-#include "SVGPathSegClosePathImpl.h"
-#include "SVGPathSegCurvetoCubicImpl.h"
-#include "SVGPathSegLinetoVerticalImpl.h"
-#include "SVGPathSegLinetoHorizontalImpl.h"
-#include "SVGPathSegCurvetoQuadraticImpl.h"
-#include "SVGPathSegCurvetoCubicSmoothImpl.h"
-#include "SVGPathSegCurvetoQuadraticSmoothImpl.h"
 #include "SVGPolylineElementImpl.h"
 #include "SVGPolygonElementImpl.h"

--- kdenonbeta/ksvg/impl/SVGPathElementImpl.h  #1.58:1.59
@@ -106,5 +106,4 @@ KSVG_TAG_NAME("path")
 private:
         SVGAnimatedNumberImpl *m_pathLength;
-        int m_index;
 
         virtual void svgMoveTo(double x1, double y1, bool closed, bool abs = true);

--- kdenonbeta/ksvg/impl/SVGPathElementImpl.cc  #1.136:1.137
@@ -61,6 +61,4 @@ SVGPathElementImpl::SVGPathElementImpl(D
         KSVG_EMPTY_FLAGS
 
-        m_index = -1;
-
         m_pathLength = new SVGAnimatedNumberImpl();
         m_pathLength->ref();
@@ -521,17 +519,4 @@ Value SVGPathElementImplProtoFunc::call(
 SVGRectImpl *SVGPathElementImpl::getBBox()
 {
-        /*SVGRectImpl *ret = SVGSVGElementImpl::createSVGRect();
-
-        if(m_array.count() > 0)
-        {
-                ArtIRect rect;
-                art_vpath_bbox_irect(ksvg_art_bez_path_to_vec(m_array.data(), 0.25), &rect);
-
-                ret->setX(rect.x0);
-                ret->setY(rect.y0);
-                ret->setWidth(rect.x1 - rect.x0);
-                ret->setHeight(rect.y1 - rect.y0);
-        }*/
-
         return getBBoxInternal();
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic