Reference Manual - 1.8.0
IDirectFBSurface   GetVisibleRectangle

Created sub surfaces might be clipped by their parents, this function returns the resulting rectangle relative to this surface.

DFBResult GetVisibleRectangle (
  IDirectFBSurface   * thiz,
  DFBRectangle   * ret_rect
);

For non sub surfaces this function returns { 0, 0, width, height }.

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