Skip to content

Latest commit

 

History

History
76 lines (61 loc) · 2.94 KB

nf-dwrite-idwriteinlineobject-getoverhangmetrics.md

File metadata and controls

76 lines (61 loc) · 2.94 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 ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dwrite.IDWriteInlineObject.GetOverhangMetrics
IDWriteInlineObject::GetOverhangMetrics (dwrite.h)
IDWriteTextLayout calls this callback function to get the visible extents (in DIPs) of the inline object. In the case of a simple bitmap, with no padding and no overhang, all the overhangs will simply be zeroes.
GetOverhangMetrics
GetOverhangMetrics method [Direct Write]
GetOverhangMetrics method [Direct Write]
IDWriteInlineObject interface
IDWriteInlineObject interface [Direct Write]
GetOverhangMetrics method
IDWriteInlineObject.GetOverhangMetrics
IDWriteInlineObject::GetOverhangMetrics
directwrite.idwriteinlineobject_getoverhangmetrics
dwrite/IDWriteInlineObject::GetOverhangMetrics
directwrite\idwriteinlineobject_getoverhangmetrics.htm
DirectWrite
b3b3e9f0-ee35-4117-9a62-a975c03b5ca9
12/05/2018
GetOverhangMetrics, GetOverhangMetrics method [Direct Write], GetOverhangMetrics method [Direct Write],IDWriteInlineObject interface, IDWriteInlineObject interface [Direct Write],GetOverhangMetrics method, IDWriteInlineObject.GetOverhangMetrics, IDWriteInlineObject::GetOverhangMetrics, directwrite.idwriteinlineobject_getoverhangmetrics, dwrite/IDWriteInlineObject::GetOverhangMetrics
dwrite.h
Windows
Dwrite.lib
Dwrite.dll
Windows
19H1
IDWriteInlineObject::GetOverhangMetrics
dwrite/IDWriteInlineObject::GetOverhangMetrics
c++
APIRef
kbSyntax
COM
dwrite.dll
IDWriteInlineObject.GetOverhangMetrics

IDWriteInlineObject::GetOverhangMetrics

-description

IDWriteTextLayout calls this callback function to get the visible extents (in DIPs) of the inline object. In the case of a simple bitmap, with no padding and no overhang, all the overhangs will simply be zeroes.

The overhangs should be returned relative to the reported size of the object (see DWRITE_INLINE_OBJECT_METRICS), and should not be baseline adjusted.

-parameters

-param overhangs [out]

Type: DWRITE_OVERHANG_METRICS*

Overshoot of visible extents (in DIPs) outside the object.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

IDWriteInlineObject