Skip to content

Latest commit

 

History

History
116 lines (87 loc) · 3.7 KB

ns-wingdi-ttpolycurve.md

File metadata and controls

116 lines (87 loc) · 3.7 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
NS:wingdi.tagTTPOLYCURVE
TTPOLYCURVE (wingdi.h)
The TTPOLYCURVE structure contains information about a curve in the outline of a TrueType character.
*LPTTPOLYCURVE
LPTTPOLYCURVE
LPTTPOLYCURVE structure pointer [Windows GDI]
TTPOLYCURVE
TTPOLYCURVE structure [Windows GDI]
_win32_TTPOLYCURVE_str
gdi.ttpolycurve
wingdi/LPTTPOLYCURVE
wingdi/TTPOLYCURVE
gdi\ttpolycurve.htm
gdi
59a26aec-786e-471b-8e08-ddffb04874d6
12/05/2018
*LPTTPOLYCURVE, LPTTPOLYCURVE, LPTTPOLYCURVE structure pointer [Windows GDI], TTPOLYCURVE, TTPOLYCURVE structure [Windows GDI], _win32_TTPOLYCURVE_str, gdi.ttpolycurve, wingdi/LPTTPOLYCURVE, wingdi/TTPOLYCURVE
wingdi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
TTPOLYCURVE, *LPTTPOLYCURVE
19H1
tagTTPOLYCURVE
wingdi/tagTTPOLYCURVE
LPTTPOLYCURVE
wingdi/LPTTPOLYCURVE
TTPOLYCURVE
wingdi/TTPOLYCURVE
c++
APIRef
kbSyntax
HeaderDef
Wingdi.h
TTPOLYCURVE

TTPOLYCURVE structure

-description

The TTPOLYCURVE structure contains information about a curve in the outline of a TrueType character.

-struct-fields

-field wType

The type of curve described by the structure. This member can be one of the following values.

Value Meaning
TT_PRIM_LINE Curve is a polyline.
TT_PRIM_QSPLINE Curve is a quadratic Bézier spline.
TT_PRIM_CSPLINE Curve is a cubic Bézier spline.

-field cpfx

The number of POINTFX structures in the array.

-field apfx

Specifies an array of POINTFX structures that define the polyline or Bézier spline.

-remarks

When an application calls the GetGlyphOutline function, a glyph outline for a TrueType character is returned in a TTPOLYGONHEADER structure, followed by as many TTPOLYCURVE structures as are required to describe the glyph. All points are returned as POINTFX structures and represent absolute positions, not relative moves. The starting point specified by the pfxStart member of the TTPOLYGONHEADER structure is the point at which the outline for a contour begins. The TTPOLYCURVE structures that follow can be either polyline records or spline records.

Polyline records are a series of points; lines drawn between the points describe the outline of the character. Spline records represent the quadratic curves (that is, quadratic b-splines) used by TrueType.

-see-also

Font and Text Structures

Fonts and Text Overview

GetGlyphOutline

POINTFX

TTPOLYGONHEADER