Reference Manual - 1.8.0
IDirectFBSurface   Read

Read from the surface without the need for (Un)Lock.

DFBResult Read (
  IDirectFBSurface   * thiz,
  const DFBRectangle   * rect,
  void   * ptr,
  int   pitch

rect defines the area inside the surface to be read.
ptr and pitch specify the destination.
The destination data will have the same format as the surface.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License