Solved

DirectX Drawing Circles

Posted on 2003-12-01
3
1,503 Views
Last Modified: 2012-05-04
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
Comment
Question by:Kevin_R
3 Comments
 
LVL 5

Accepted Solution

by:
mccainz2 earned 500 total points
ID: 9869266
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
 
LVL 29

Expert Comment

by:leonstryker
ID: 10167445
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now