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

List:       kde-commits
Subject:    Re: koffice/plugins/pathshapes/enhancedpath
From:       jaham () gmx ! net
Date:       2010-03-10 17:42:10
Message-ID: 201003101842.11007.jaham () gmx ! net
[Download RAW message or body]

On Wednesday 10 March 2010 02:27:21 Carlos Licea wrote:
> On Tuesday 09 March 2010 15:43:02 Jan Hambrecht escribió:
> >SVN commit 1101341 by jaham:
> >
> >make viewbox transformation more robust and also enable mirroring
> >
> > M  +18 -23    EnhancedPathCommand.cpp
> > M  +52 -57    EnhancedPathShape.cpp
> > M  +17 -13    EnhancedPathShape.h
> >

> OMG, you did it?!… were the points being mapped twice?!

I made the decision to stay in viewbox coordinates as long as possible, i.e. 
for the complete evaluation of the enhanced path commands. And only after the 
path is generated I scale/mirror/move the generated path data to the right 
size/position. That way it prooved to be more robust against size changes of 
the generated path data as well as size changes of the shape itself.

Ciao Jan

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

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