Curved Paths

An application can flatten the curves in a path by calling the FlattenPath function. This function is especially useful for applications that fit text onto the contour of a path which contains curves. To fit the text, the application must perform the following steps:

  1. Create the path where the text appears.

  2. Call the FlattenPath function to convert the curves in a path into line segments.

  3. Call the GetPath function to retrieve those line segments.

  4. Calculate the length of each line and the width of each character in the string.

  5. Use line-width and character-width data to position each character along the curve.

    Software for developers
    Delphi Components
    .Net Components
    Software for Android Developers
    More information resources
    MegaDetailed.Net
    Unix Manual Pages
    Delphi Examples
    Databases for Amazon shops developers
    Amazon Categories Database
    Browse Nodes Database