---
UID: NE:d2d1svg.D2D1_SVG_UNIT_TYPE
title: D2D1_SVG_UNIT_TYPE (d2d1svg.h)
description: Defines the coordinate system used for SVG gradient or clipPath elements.
old-location: direct2d\d2d1_svg_unit_type.htm
tech.root: Direct2D
ms.assetid: EF7CD98A-AE8D-42B3-BA1F-D50EB2FB88A6
ms.date: 12/05/2018
ms.keywords: D2D1_SVG_UNIT_TYPE, D2D1_SVG_UNIT_TYPE enumeration [Direct2D], D2D1_SVG_UNIT_TYPE_FORCE_DWORD, D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX, D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE, d2d1svg/D2D1_SVG_UNIT_TYPE, d2d1svg/D2D1_SVG_UNIT_TYPE_FORCE_DWORD, d2d1svg/D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX, d2d1svg/D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE, direct2d.d2d1_svg_unit_type
f1_keywords:
- d2d1svg/D2D1_SVG_UNIT_TYPE
dev_langs:
- c++
req.header: d2d1svg.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- HeaderDef
api_location:
- d2d1svg.h
api_name:
- D2D1_SVG_UNIT_TYPE
targetos: Windows
req.typenames: D2D1_SVG_UNIT_TYPE
req.redist: 
ms.custom: 19H1
---

# D2D1_SVG_UNIT_TYPE enumeration


## -description


Defines the coordinate system used for SVG gradient or clipPath elements.


## -enum-fields




### -field D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE

The property is set to SVG's 'userSpaceOnUse' value.


### -field D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX

The property is set to SVG's 'objectBoundingBox' value.


### -field D2D1_SVG_UNIT_TYPE_FORCE_DWORD

