Gradient Color for Caption Bar
William Poetra Yoga H
williampoetra at yahoo.com
Thu Oct 28 11:24:19 CDT 2004
--- Shachar Shemesh <wine-devel at shemesh.biz> wrote:
> Mike McCormack wrote:
>
> >
> > GradientFill is pretty slow, as it files the rectangle line by line.
> > I'm not sure how much this is going to slow down a normal application.
> > It used to draw pixel by pixel, and that was a very noticable
> > slowdown... line by line is much faster than that, but it still may
> > cause a slowdown in some circumstances.
> >
> > Anybody have any ideas about how to speed up GradientFill?
I think it's fast enough; I don't see a slowdown at all on my machine (Pentium
III Celeron 1.0GHz, SiS 630, 128MB RAM).
>
> How many colors are typically drawn across a single bar? If this number
> is significantly less than the number of vertical lines, you can
> precalculate the width of each color bar, and draw a series of boxes.
More information about the wine-devel
mailing list