Reference Manual - 1.8.0
IDirectFBSurface   Write

Write to the surface without the need for (Un)Lock.

DFBResult Write (
  IDirectFBSurface   * thiz,
  const DFBRectangle   * rect,
  const void   * ptr,
  int   pitch
);

rect defines the area inside the surface.
ptr and pitch specify the source.
The format of the surface and the source data must be the same.

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