INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Region Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_REGION_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature

NULLREGION: INTEGER

SIMPLEREGION: INTEGER

COMPLEXREGION: INTEGER
feature -- Access

CombineRgn (hrgndest, hrgnsrc1, hrgnsrc2, fncombinemode: INTEGER): INTEGER
-- The 'CombineRgn' function combines two regions and stores the result
-- in a third region. The two regions are combined according to the
-- specified mode.

CreateEllipticRgn (nleftrect, ntoprect, nrightrect, nbottomrect: INTEGER): INTEGER
-- The 'CreateEllipticRgn' function creates an elliptical region.

CreateRectRgn (nleftrect, ntoprect, nrightrect, nbottomrect: INTEGER): INTEGER
-- The 'CreateRectRgn' function creates a rectangular region.

FillRgn (hdc, hrgn, hbr: INTEGER)
-- The 'FillRgn' procedure fills a region by using the specified brush.
require
correct_hdc: hdc /= null_

GetPolyFillMode (hdc: INTEGER): INTEGER
-- The `GetPolyFillMode' function retrieves the current polygon
-- fill mode.
require
correct_hdc: hdc /= null_

SetPolyFillMode (hdc, ipolyfillmode: INTEGER): INTEGER
-- The `SetPolyFillMode' function sets the polygon fill mode
-- for functions that fill polygons.
require
correct_hdc: hdc /= null_
feature -- Implementation

wCreateEllipticRgn (nleftrect, ntoprect, nrightrect, nbottomrect: INTEGER): INTEGER

wCreateRectRgn (nleftrect, ntoprect, nrightrect, nbottomrect: INTEGER): INTEGER

wFillRgn (hdc, hrgn, hbr: INTEGER): INTEGER

frozen wGetPolyFillMode (hdc: INTEGER): INTEGER

frozen wSetPolyFillMode (hdc, ipolyfillmode: INTEGER): INTEGER

frozen CreateRectRgnIndirect (lprc1: POINTER): INTEGER
-- The CreateRectRgnIndirect function creates a rectangular region.

frozen CreatePolygonRgn (lppt: POINTER; cpoints: INTEGER; fnpolyfillmode: INTEGER): INTEGER
-- The CreatePolygonRgn function creates a polygonal region.

frozen PtInRegion (hrgn: INTEGER; x: INTEGER; y: INTEGER): INTEGER
-- The PtInRegion function determines whether the specified point is
-- inside the specified region.

OffsetRgn (hrgn, nxoffset, nyoffset: INTEGER): INTEGER
-- The OffsetRgn function moves a region by the specified offsets. 

RectInRegion (hrgn: INTEGER; lprc: POINTER): INTEGER

GetRgnBox (hrgn: INTEGER; lprc: POINTER): INTEGER

EqualRgn (hsrcrgn1, hsrcrgn2: INTEGER): INTEGER
end -- class WAPI_REGION_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES