D2D1_GEOMETRY_RELATION enumeration (d2d1.h)
Describes how one geometry object is spatially related to another geometry object.
Syntax
typedef enum D2D1_GEOMETRY_RELATION {
D2D1_GEOMETRY_RELATION_UNKNOWN = 0,
D2D1_GEOMETRY_RELATION_DISJOINT = 1,
D2D1_GEOMETRY_RELATION_IS_CONTAINED = 2,
D2D1_GEOMETRY_RELATION_CONTAINS = 3,
D2D1_GEOMETRY_RELATION_OVERLAP = 4,
D2D1_GEOMETRY_RELATION_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_GEOMETRY_RELATION_UNKNOWN Value: 0 The relationship between the two geometries cannot be determined. This value is never returned by any D2D method. |
D2D1_GEOMETRY_RELATION_DISJOINT Value: 1 The two geometries do not intersect at all. |
D2D1_GEOMETRY_RELATION_IS_CONTAINED Value: 2 The instance geometry is entirely contained by the passed-in geometry. |
D2D1_GEOMETRY_RELATION_CONTAINS Value: 3 The instance geometry entirely contains the passed-in geometry. |
D2D1_GEOMETRY_RELATION_OVERLAP Value: 4 The two geometries overlap but neither completely contains the other. |
D2D1_GEOMETRY_RELATION_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | d2d1.h |