[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Diagonal gradient support now in KPixmap
From:       Roberto Alsina <ralsina () unl ! edu ! ar>
Date:       1999-07-12 16:47:28
[Download RAW message or body]

On Mon, 12 Jul 1999, Mosfet wrote:

> On Mon, 12 Jul 1999, Antonio Larrosa wrote:
> > Mosfet wrote:
> > > 
> > > I've added diagonal gradients to KPixmap, thus the following method is obselete:
> > > 
> > > void KPixmap::gradientFill(QColor ca, QColor cb, bool upDown, int ncols)
> > > 
> > > It is now replaced by:
> > > void KPixmap::gradientFill(QColor ca, QColor cb, GradientMode direction, int
> > > ncols)
> > > 
> > > Where GradientMode is KPixmap::Horizontal, KPixmap::Vertical, or
> > > KPixmap::Diagonal.
> > > 
> > 
> > Hmm, there are two different diagonals in every rectangle :-)
> > 
> 
> Huh? The gradient runs from the top left to bottom right...

And the other one would be from top right to bottom left, I assume ;-)

 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina@unl.edu.ar
 (_Y_.)' ._   ) `._`.  " -.-'   Centro de Telematica
  _..`-'_..-_/ /-'_.'           Universidad Nacional del Litoral
(l)-'' ((i).' ((!.'             Santa Fe - Argentina
                                KDE Developer (MFCH)
An opinion you can't give reasons for is not an opinion worth having (I)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic