freelanceprogrammers.org Forum Index » C

Problem with Pieslice


View user's profile Post To page top
arifali_007 Posted: Mon Jul 07, 2003 8:58 pm


Joined: 07 Jul 2003

Posts: 14
Problem with Pieslice
Here in my program  there is a function "void HardDisk::show()"
in this function i`m using pieslice  function. here what i`m doing is i`m displaying four partition as pie chart .
i`m always starting the first partition from  0 angle .
what i want to do is i want to i want to pass a parameter start_angle from wwhere my first partition should start in pie chart . so plz do help me .
 
 
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Reply with quote
Send private message
View user's profile Post To page top
suman_karumuri Posted: Tue Jul 08, 2003 12:16 am


Joined: 08 Jul 2003

Posts: 6
Problem with Pieslice
so make the default value for the parameter as 0 and then if a value
is passed add it as an offset.
HTH
-suman
--- In Programmers-Town@yahoogroups.com, Arif Ali Saiyed
<arifali_007@y...> wrote:
> Here in my program there is a function "void HardDisk::show()"
> in this function i`m using pieslice function. here what i`m doing
is i`m displaying four partition as pie chart .
> i`m always starting the first partition from 0 angle .
> what i want to do is i want to i want to pass a parameter
start_angle from wwhere my first partition should start in pie chart .
so plz do help me .
>
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help