Logo Search packages:      
Sourcecode: djvulibre version File versions

GPixel * GPixmap::operator[] ( int  row  )  [inline]

Returns a pointer to the first GPixel in row row#. This pointer can be used as an array to read or write the row elements.

Definition at line 478 of file GPixmap.h.

{
  if (row<0 || row>=nrows || !pixels) return 0;
  return &pixels[row * nrowsize];
}


Generated by  Doxygen 1.6.0   Back to index