1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<title>Windows Interface Reference: Clipping structure</title> 6</head> 7 8<body> 9 10<h1>Clipping</h1> 11 12<p>The Clipping structure contains functions and structures to create and manipulate 13clipping regions.</p> 14 15<pre>structure Clipping : 16 sig 17 type HDC and HRGN 18 type RECT = { top: int, left: int, bottom: int, right: int } 19 type RegionOperation = Region.RegionOperation 20 type ResultRegion = Region.ResultRegion 21 22 val ExcludeClipRect : HDC * RECT -> ResultRegion 23 val ExtSelectClipRgn : HDC * HRGN * RegionOperation -> ResultRegion 24 val <a 25name="GetClipBox">GetClipBox</a> : HDC -> ResultRegion * RECT 26 val GetClipRgn : HDC * HRGN -> unit 27 val GetMetaRgn : HDC * HRGN -> unit 28 val IntersectClipRect : HDC * RECT -> ResultRegion 29 val OffsetClipRgn : HDC * int * int -> ResultRegion 30 val PtVisible : HDC * int * int * bool -> bool 31 val RectVisible : HDC * RECT -> bool 32 val SelectClipPath : HDC * RegionOperation -> unit 33 val SelectClipRgn : HDC * HRGN -> unit 34 val SetMetaRgn : HDC -> unit 35 end</pre> 36</body> 37</html> 38