Pierre de Filippis <[EMAIL PROTECTED]> writes: > 1. I was reading some documentation about Bezier lines online and was > wondering where the algorithm to compute the line is implemented in > OOo. Should it be in GDI or is it at a higher level in the code > hierarchy? > I'm not exactly sure what you're referring to - a capable system API should be able to output bezier curves as-is.
> 2. Also what is the argument BYTE* pFlgAry of drawPolyLineBezier > used for? > The pPtAry can contain points for both straight and bezier segments (for the same polygon, of course). The flag array (pFlgAry) denotes which is which: all elements with the flag POLY_CONTROL are bezier control points, the remainder are bezier support points or straigt line points. Have a look at vcl/source/helper/canvastools.cxx's bezierSequenceFromPolygon() to get an idea how to convert that to a regular sequence of bezier segments. HTH, -- Thorsten If you're not failing some of the time, you're not trying hard enough. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
