TWidgetSet.IntersectClipRect function
Shrinks the clipping region of an Device Context to a rectangular boundary, e.g. a text area.
Declaration
function IntersectClipRect(dc: hdc; Left: Integer; Top: Integer;
Right: Integer; Bottom: Integer): Integer
; virtualFunction result
The region type, zero on failure.
Description
Use this method before painting into a rectangle in an DC, to clip everything outside the rectangle and outside the current clipping region of the DC.
The result can be one of the following constants:
Error NullRegion
SimpleRegion ComplexRegion Region_Error.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
