Where to store data between strokes

JL VT pentalis at gmail.com
Tue Jun 29 01:12:05 CEST 2010

> Main drawback is that I wanted KisDistanceInformation to be as lightweight as
> possible, and making the suggested change would make it much more heavyweight.
> An other possibility is to add to paintAt/paintLine/paintBezierCurve an other
> parameter that would be the class with the storage.
> --
> Cyrille Berger

If this would allow for bitmaps to be stored from one stroke to the
next, then this sounds like the best solution in my opinion. This
would be very useful for paintops that try to generate a pattern
on-the-fly like the hatching brush.

More information about the kimageshop mailing list