From: Marco W. <in...@ca...> - 2005-02-28 19:40:25
|
Hi Pavel, Don't understand me wrongly, I like SVG but have no requirements for it as for now. Being able to maintain code also requires a simple compilation and test application. Having to use IFDEFs to test the entire source does not simplify developer life. I'm simply interested in having a break in baseclasses and SVG implementation which does not depend on each other. I've got over 10 years of experience in developing projects and keeping a sharp eye on simple and beautiful. I don't always succeed but are always striving to achieve this optimum. I compare SVG functionality as in Controls vs DbControls. One extending on the other and usable both at the same time. Additionally a few more descendants won't compromise the simple architecture, having implementation using IFDEFs will. I have no intention to burn anything, I'm simply very interested in trying yo achieve both targets and not just SVG as a target for the project. Having some backward compatibility to SimpleGraph users and straight forward drawing libraries do not have to exclude SVG at all. Even the SVG target you have in mind will benefit by having a clean set of baseclasses in the end. Hope you appreciate my words, they are meant to be kind yet clear. ;) Regards, Marco. Pavel Vrecion wrote: > OK what is your recommendation. > Idea is to move to svg only implementation. > So ifdef should disappear. And BTW, what wrong with ifdef? > Pavel > > Marco Wobben wrote: > >> Hi, >> >> I'll have a go first, I've got a lot a code to put in... No offence >> here, but do you mind me looking at the SVG stuff. I like that it's >> in there, but my concern is the code maintainability using IFDEFs. If >> I see how it could work with less effort and compile for both non-SVG >> and SVG it would be a nicer implementation. >> >> I seem to have spare time this week, so I'll start and keep you >> posted on the progress... >> >> Marco. >> >> vrecion wrote: >> >>> Hi, >>> >>> I have split and merged extgraph code into new packages. >>> >>> Try to compile it. >>> >>> 1. Marco’s code is commented, while compilation failed. There is >>> something missing. Marco can you look at it? >>> 2. If you will try to compile it with svg features, do it with >>> XObjects directive turned on. You will also need txpartner xml >>> package which is available at sf. Before installation you will >>> need to replace xpdom.pas, while there are some enhancements >>> used for svg processing. >>> >>> Check code and send me your changes (please comment them, so that I >>> will find them faster), after you “go” signal I will place it on sf >>> CVS. >>> >>> Pavel >>> > > > > |