---
UID: NS:dcommon.D2D_POINT_2F
title: D2D_POINT_2F (dcommon.h)
description: Represents an x-coordinate and y-coordinate pair, expressed as floating-point values, in two-dimensional space.
old-location: direct2d\D2D_POINT_2F.htm
tech.root: Direct2D
ms.assetid: 2ee55d63-594b-482d-9e31-2378369c6c30
ms.date: 12/05/2018
ms.keywords: D2D1_POINT_2F, D2D_POINT_2F, D2D_POINT_2F structure [Direct2D], dcommon/D2D_POINT_2F, direct2d.D2D_POINT_2F
f1_keywords:
- dcommon/D2D_POINT_2F
dev_langs:
- c++
req.header: dcommon.h
req.include-header: D2d1.h
req.target-type: Windows
req.target-min-winverclnt: Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
req.target-min-winversvr: Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
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:
- dcommon.h
api_name:
- D2D_POINT_2F
targetos: Windows
req.typenames: D2D_POINT_2F
req.redist: 
ms.custom: 19H1
---

# D2D_POINT_2F structure


## -description


Represents an x-coordinate and y-coordinate pair, expressed as floating-point values, in two-dimensional space.


## -struct-fields




### -field x

Type: <b>FLOAT</b>

The x-coordinate of the point.



### -field y

Type: <b>FLOAT</b>

The y-coordinate of the point.


