Reference Manual - 0.9.25
IDirectFBSurface   GetSize

Get the surface's width and height in pixels.

GetSize (
  IDirectFBSurface   * thiz,
  int   * ret_width,
  int   * ret_height
);