Reference Manual - 1.0.1
IDirectFBDisplayLayer   SetClipRegions

Set the clipping region(s).

SetClipRegions (
  IDirectFBDisplayLayer   * thiz,
  const DFBRegion   * regions,
  int   num_regions,
  DFBBoolean   positive
);

If supported, this method sets the clipping regions that are used to to enable or disable visibility of parts of the layer. The num_regions must not exceed the limit as stated in the display layer description.

If positive is DFB_TRUE the layer will be shown only in these regions, otherwise it's shown as usual except in these regions.

Also see IDirectFBDisplayLayer::GetDescription().

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