Reference

GdipCreateRegionPath(3w)

NAME

GdipCreateRegionPath (GDIPLUS.@)

SYNOPSIS

GpStatus WINGDIPAPI GdipCreateRegionPath
(
GpPath* path,
GpRegion** region
)

DESCRIPTION

Creates a GpRegion from a GpPath.

PARAMS

path [In] path to base the region on.

region [Out] pointer to the newly allocated region.

RETURNS

SUCCESS: Ok

FAILURE: InvalidParameter.

NOTES

If a path has no floating point points, its points will be stored as shorts (INTPATH).

If a path is empty, it is considered to be an INTPATH

IMPLEMENTATION

Declared in "gdiplusflat.h".

Implemented in "dlls/gdiplus/region.c".

Debug channel "gdiplus".