Re: Cleaning up the paint API of KoShape

2011-01-23 Thread Thorsten Zachmann
On Sunday, January 23, 2011 18:02:53 ja...@gmx.net wrote: > On Sunday 23 January 2011 15:36:15 Inge Wallin wrote: > > There is a big wart on the KoShape API and that is the one for painting. > > > > Currently we have these two functions: > > virtual void paint(QPainter &painter, const KoViewConve

Re: Cleaning up the paint API of KoShape

2011-01-23 Thread Inge Wallin
I'll reply to both Jan and Casper here instead of doing two separate mails. On Sunday, January 23, 2011 20:20:36 C. Boemann wrote: > On Sunday 23 January 2011 18:02:53 ja...@gmx.net wrote: > > On Sunday 23 January 2011 15:36:15 Inge Wallin wrote: > > > There is a big wart on the KoShape API and th

Re: Cleaning up the paint API of KoShape

2011-01-23 Thread C. Boemann
On Sunday 23 January 2011 18:02:53 ja...@gmx.net wrote: > On Sunday 23 January 2011 15:36:15 Inge Wallin wrote: > > There is a big wart on the KoShape API and that is the one for painting. > > > > Currently we have these two functions: > > virtual void paint(QPainter &painter, const KoViewConvert

Re: Cleaning up the paint API of KoShape

2011-01-23 Thread jaham
On Sunday 23 January 2011 15:36:15 Inge Wallin wrote: > There is a big wart on the KoShape API and that is the one for painting. > Currently we have these two functions: > > virtual void paint(QPainter &painter, const KoViewConverter &converter) = > 0; virtual void paintDecorations(QPainter &pain

Re: Cleaning up the paint API of KoShape

2011-01-23 Thread Inge Wallin
On Sunday, January 23, 2011 16:31:18 Yue Liu wrote: > On Sun, Jan 23, 2011 at 10:36 PM, Inge Wallin wrote: > > There is a big wart on the KoShape API and that is the one for painting. > > Currently we have these two functions: > > > > virtual void paint(QPainter &painter, const KoViewConverter &

Re: Cleaning up the paint API of KoShape

2011-01-23 Thread Yue Liu
On Sun, Jan 23, 2011 at 10:36 PM, Inge Wallin wrote: > There is a big wart on the KoShape API and that is the one for painting. > Currently we have these two functions: > >  virtual void paint(QPainter &painter, const KoViewConverter &converter) = 0; >  virtual void paintDecorations(QPainter &pain

Cleaning up the paint API of KoShape

2011-01-23 Thread Inge Wallin
There is a big wart on the KoShape API and that is the one for painting. Currently we have these two functions: virtual void paint(QPainter &painter, const KoViewConverter &converter) = 0; virtual void paintDecorations(QPainter &painter, const KoViewConverter &co