Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

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

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

Definition at line 485 of file GPixmap.h.

Referenced by rotate().

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

Generated by  Doxygen 1.6.0   Back to index