Re: [gtk-list] Re: Problem adding GdkRGB access to backing pixmap in scribble-simple




On Mon, 10 May 1999 robert_gasch@peoplesoft.com wrote:
> 
> Just out of curiosity: Why would you want rowstride larger than width*3? What
> would the benefit be?
>

As David Given pointed out, you can choose any vertical band of your image
this way (pass a pointer to the middle of a row, a width equal to the
band's width, and a rowstride to get to the middle of the next row). Also,
some rowstrides make GdkRGB faster IIRC; unfortunately I can't tell you
which ones those are. Ask Raph. :-)
 
Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]