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

List:       koffice-devel
Subject:    opinions for some killustrator issues wanted
From:       aleXXX <alexander.neundorf () rz ! tu-ilmenau ! de>
Date:       2001-02-25 21:20:41
[Download RAW message or body]

Hi,

currently I'm thinking about some issues and don't know exactly what I should 
do.

1.) In killustrator you can set a paper size on which you want to draw. But 
it is possible to draw outside the defined paper geometry. I think this is 
wrong. Does anybody object ?

2.) Drawing is quite slow. I will have a look at the double buffering in 
Canvas. Furthermore each graphical object (e.g. circle) is stored internally 
with its original dimensions, if you move or scale or rotate it or whatever, 
a matrix belonging to the object is changed, which represents the operation.
All this is done by computing with floats on every redraw. Now I', thinking 
whether it would speed things up to compute the new dimensions of a graphic 
object in pixels on the screen only then new, if the object changed (scaled, 
moved, translated). Then no computations would be required for most redraws.
Do you think this could be worth it ?

3.) Is anybody outthere who completely understands how killu draws stuff ?
E.g. until now I don't understand why objects snapped to the grid are not 
drawn exactly above the grid.

4.) Snapping: I'd like to implement some more snapping algorithms, maybe snap 
to node, snap to center of line and so on. Currently there are already "Snap 
to Helplines" and "Snap to grid". Currently it is possible to activate both 
of them at once. I think this should be exclusively.
The snapping to helplines is done if the currrent mouse cursor is less than 
10 pixels away from a helpline. I don't like this solution very much, but 
until now I don't know exactly how to make it better. At least I would like 
to make the distance bigger, i.e. 20 pixels.
Does anybody object ?

5.) Do we have an image library, which provides scaling of pixmaps with 
better than basic quality, i.e. with smoothing of the edges when zooming ?

6.) Do we still need different src subdirs ?
share/, koffice/ and since today another one, ui/ 
I think it would be better to to have them all in one subdir, this compiles 
faster due to less linking and needs less disk space.

Bye
Alex
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

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

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