Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7738461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:16:17+00:00 2026-06-01T08:16:17+00:00

I have problem with text drawing around Circle. I found great sample in C#

  • 0

I have problem with text drawing around Circle.

I found great sample in C# http://www.codeproject.com/Articles/30090/Text-On-A-Path-in-WPF

Bu I need to implement this in VC 6.0 and C# sample isn’t working for me for that reason.

Maybe exist some basic algorithm to implement this?

All drawings must be drawn in CDC.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:16:19+00:00Added an answer on June 1, 2026 at 8:16 am

    CDC is a thin wrapper around GDI. GDI doesn’t provide much support for what you want to do, so it will be a lot of work. Here are a couple of approaches:

    1. Draw the text normally (in a straight line) to an off-screen DIB section, and then do a pixelwise transformation to make another off-screen DIB section with the text in a circle. Then you can blit the transformed DIB section to the output device.

    2. For each character, create a logical font with the escapement and orientation set to the appropriate angle for the current position, then draw the character with that font. Repeat for each character. The problem here is that, even with TrueType or OpenType fonts, the rotations aren’t always very good, depending on the quality of the font, hinting, etc.

    3. Use a TrueType or OpenType font and get GDI to give you the vectors (line segments and bezier curves) that define the actual character shapes. Assemble these into a straight row, and then apply a Cartesian to polar coordinate transform. Draw the result using one of the path functions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem with TinyMCE editor. I have form with few text fields and
people. I have slight problem with GD2 text on image. I have everything working
I want to place UItextField in UITableViewCell but I have problem. Text field don't
I have a problem to get the values and text of the MultiSelectList to
I have a problem while pasting my contents (or text) generated by Java code
I have a problem with sax parser and encoded text. I try to parse
i have a problem, i want set text of a UILabel or UItextView or
I have a problem with datePicker. When a make a new text field with
I have a problem. Part of my app requires text to be shown in
I've encountered a problem drawing SFML Text. In my application, I use views as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.