please dont rip this site Prev Next

TTPOLYCURVE info  Overview  Group

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

typedef struct tagTTPOLYCURVE { // ttpc 

    WORD    wType; 

    WORD    cpfx; 

    POINTFX apfx[1]; 

} TTPOLYCURVE, FAR* LPTTPOLYCURVE; 

 

Members

wType
Specifies 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 Bézier spline.

cpfx
Specifies the number of POINTFX structures in the array.
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 given 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

GetGlyphOutline, POINTFX, TTPOLYGONHEADER 


file: /Techref/os/win/api/win32/struc/src/str22_5.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 07:33,
TOP NEW HELP FIND: 
18.216.99.18:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/os/win/api/win32/struc/src/str22_5.htm"> TTPOLYCURVE</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .