D2D1_GEOMETRY_RELATION enumeration

Describes how one geometry object is spatially related to another geometry object.

Syntax


typedef enum  { 
  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;

Constants

D2D1_GEOMETRY_RELATION_UNKNOWN

The relationship between the two geometries cannot be determined. This value is never returned by any D2D method.

D2D1_GEOMETRY_RELATION_DISJOINT

The two geometries do not intersect at all.

D2D1_GEOMETRY_RELATION_IS_CONTAINED

The instance geometry is entirely contained by the passed-in geometry.

D2D1_GEOMETRY_RELATION_CONTAINS

The instance geometry entirely contains the passed-in geometry.

D2D1_GEOMETRY_RELATION_OVERLAP

The two geometries overlap but neither completely contains the other.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

See also

ID2D1Geometry::CompareWithGeometry

 

 

Show: