---
UID: NF:d2d1.ID2D1Brush.SetTransform(const D2D1_MATRIX_3X2_F)
title: ID2D1Brush::SetTransform(const D2D1_MATRIX_3X2_F) (d2d1.h)
description: Sets the transformation applied to the brush.
old-location: direct2d\ID2D1Brush_SetTransform_ptr_D2D_MATRIX_3X2_F.htm
tech.root: Direct2D
ms.assetid: ef9fdd4f-6338-498e-bbed-5fc676fc53b3
ms.date: 12/05/2018
ms.keywords: ID2D1Brush interface [Direct2D],SetTransform method, ID2D1Brush.SetTransform, ID2D1Brush.SetTransform(const D2D1_MATRIX_3X2_F), ID2D1Brush::SetTransform, ID2D1Brush::SetTransform(const D2D1_MATRIX_3X2_F), ID2D1Brush::SetTransform(const D2D1_MATRIX_3X2_F*), SetTransform, SetTransform method [Direct2D], SetTransform method [Direct2D],ID2D1Brush interface, d2d1/ID2D1Brush::SetTransform, direct2d.ID2D1Brush_SetTransform_ptr_D2D_MATRIX_3X2_F
f1_keywords:
- d2d1/ID2D1Brush.SetTransform
dev_langs:
- c++
req.header: d2d1.h
req.include-header: 
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: D2d1.lib
req.dll: D2d1.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D2d1.dll
api_name:
- ID2D1Brush.SetTransform
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID2D1Brush::SetTransform(const D2D1_MATRIX_3X2_F)


## -description


Sets the transformation applied to the brush.


## -parameters




### -param transform [in]

Type: <b>const <a href="https://docs.microsoft.com/windows/desktop/Direct2D/d2d1-matrix-3x2-f">D2D1_MATRIX_3X2_F</a>*</b>

The transformation to apply to this brush. 


## -returns



This method does not return a value.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/Direct2D/direct2d-brushes-overview">Brushes Overview</a>



<a href="https://docs.microsoft.com/windows/desktop/api/d2d1/nn-d2d1-id2d1brush">ID2D1Brush</a>
 

 

