Skip to content

Latest commit

 

History

History
121 lines (77 loc) · 3.99 KB

nf-gdipluspen-pen-scaletransform.md

File metadata and controls

121 lines (77 loc) · 3.99 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type 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 targetos req.typenames req.redist req.product ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:gdipluspen.Pen.ScaleTransform
Pen::ScaleTransform (gdipluspen.h)
The Pen::ScaleTransform method sets the Pen object's world transformation matrix equal to the product of itself and a scaling matrix.
Pen class [GDI+]
ScaleTransform method
Pen.ScaleTransform
Pen::ScaleTransform
ScaleTransform
ScaleTransform method [GDI+]
ScaleTransform method [GDI+]
Pen class
_gdiplus_CLASS_Pen_ScaleTransform_sx_sy_order_
gdiplus._gdiplus_CLASS_Pen_ScaleTransform_sx_sy_order_
gdiplus\_gdiplus_CLASS_Pen_ScaleTransform_sx_sy_order_.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\classes\penclass\penmethods\scaletransform_26sx_sy_order.htm
12/05/2018
Pen class [GDI+],ScaleTransform method, Pen.ScaleTransform, Pen::ScaleTransform, ScaleTransform, ScaleTransform method [GDI+], ScaleTransform method [GDI+],Pen class, _gdiplus_CLASS_Pen_ScaleTransform_sx_sy_order_, gdiplus._gdiplus_CLASS_Pen_ScaleTransform_sx_sy_order_
gdipluspen.h
Gdiplus.h
Windows
Windows XP, Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Gdiplus.lib
Gdiplus.dll
Windows
GDI+ 1.0
19H1
Pen::ScaleTransform
gdipluspen/Pen::ScaleTransform
c++
APIRef
kbSyntax
COM
Gdiplus.dll
Pen.ScaleTransform

Pen::ScaleTransform

-description

The Pen::ScaleTransform method sets the Pen object's world transformation matrix equal to the product of itself and a scaling matrix.

-parameters

-param sx [in]

Type: REAL

Real number that specifies the horizontal scaling factor in the scaling matrix.

-param sy [in]

Type: REAL

Real number that specifies the vertical scaling factor in the scaling matrix.

-param order [in]

Type: MatrixOrder

Optional. Element of the MatrixOrder enumeration that specifies the order of the multiplication. MatrixOrderPrepend specifies that the scaling matrix is on the left, and MatrixOrderAppend specifies that the scaling matrix is on the right. The default value is MatrixOrderPrepend.

-returns

Type: Status

If the method succeeds, it returns Ok, which is an element of the Status enumeration.

If the method fails, it returns one of the other elements of the Status enumeration.

-see-also

Coordinate Systems and Transformations

Matrix

MatrixOrder

Pen

Pen::GetTransform

Pen::MultiplyTransform

Pen::ResetTransform

Pen::SetTransform

Transformations