Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1512
  • Last Modified:

DirectX Drawing Circles

Is there a way using the ActiveX DirectX control to draw a circle by supplying the radius or Diameter as an argument.  Also is the a way to fade colours, for example, the cente of the circle would be green, then moving closer to the edge of the circle, at a given point the green would fade to yellow, then finally red.

Thanks

Kevin
0
Kevin_R
Asked:
Kevin_R
1 Solution
 
mccainz2Commented:
Just an idea , have you thought about simply making a bitmap of the circle with the gradient you desire and then placing it into an image control....set stretch=true and modify the width and height based on the diameter you need???
0
 
leonstrykerCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered mccainz2
 
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

leonstryker
EE Cleanup Volunteer
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now