From koffice-devel Tue May 27 19:32:49 2003 From: =?iso-8859-1?Q?Dirk_Sch=F6nberger?= Date: Tue, 27 May 2003 19:32:49 +0000 To: koffice-devel Subject: Re: [Uml-devel] Re: karbon/umbrello X-MARC-Message: https://marc.info/?l=koffice-devel&m=105406429132379 > > > > But how do you want to implement rendering? > > > > > > YourVeryOwnRenderingVisitor v.visit( *morph ); > the clean way, yes, but i don't think its going to be very efficient for > editing applications. for simple generators/exporters this is fine, but for > karbon, kivio and umbrello, i don't think that's the best choice. there > should be some kind of kpainter integration. > i think for editing or vector graphic manipluation applications you need a > higher degree of responsiveness in the painting. changes should be immediate. > you shouldn't have to re-visit the entire graph just to redraw a single node. The problem I see is that you are forced to use OPAL derived classes for your render / canvas elements and your document class. Furtheron you are forced to build a tree like structure in your document. This may or may not be wanted. Regards Dirk _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel