| Reference Manual - 1.4.3

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 }.

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