Skip to content

Latest commit

 

History

History
89 lines (69 loc) · 3.16 KB

nf-gdiplusgraphics-graphics-getrenderingorigin.md

File metadata and controls

89 lines (69 loc) · 3.16 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:gdiplusgraphics.Graphics.GetRenderingOrigin
Graphics::GetRenderingOrigin (gdiplusgraphics.h)
The Graphics::GetRenderingOrigin method gets the rendering origin currently set for this Graphics object.
GetRenderingOrigin
GetRenderingOrigin method [GDI+]
GetRenderingOrigin method [GDI+]
Graphics class
Graphics class [GDI+]
GetRenderingOrigin method
Graphics.GetRenderingOrigin
Graphics::GetRenderingOrigin
_gdiplus_CLASS_Graphics_GetRenderingOrigin_x_y_
gdiplus._gdiplus_CLASS_Graphics_GetRenderingOrigin_x_y_
gdiplus\_gdiplus_CLASS_Graphics_GetRenderingOrigin_x_y_.htm
gdiplus
VS|gdicpp|~\gdiplus\gdiplusreference\classes\graphicsclass\graphicsmethods\getrenderingorigin.htm
12/05/2018
GetRenderingOrigin, GetRenderingOrigin method [GDI+], GetRenderingOrigin method [GDI+],Graphics class, Graphics class [GDI+],GetRenderingOrigin method, Graphics.GetRenderingOrigin, Graphics::GetRenderingOrigin, _gdiplus_CLASS_Graphics_GetRenderingOrigin_x_y_, gdiplus._gdiplus_CLASS_Graphics_GetRenderingOrigin_x_y_
gdiplusgraphics.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
Graphics::GetRenderingOrigin
gdiplusgraphics/Graphics::GetRenderingOrigin
c++
APIRef
kbSyntax
COM
Gdiplus.dll
Graphics.GetRenderingOrigin

Graphics::GetRenderingOrigin

-description

The Graphics::GetRenderingOrigin method gets the rendering origin currently set for this Graphics object. The rendering origin is used to set the dither origin for 8-bits per pixel and 16-bits per pixel dithering and is also used to set the origin for hatch brushes.

-parameters

-param x [out]

Type: INT*

Pointer to an INT that receives the x-coordinate of the rendering origin.

-param y [out]

Type: INT*

Pointer to an INT that receives the y-coordinate of the rendering origin.

-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

Graphics

Graphics::SetRenderingOrigin