[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Robin Prosch via .NET 247

9/22/2004 6:36:00 AM

Hi All,
I am facing one problem in GDI(C#) . I have drwan Pie/Bar graph using system.drawing but now I find out if user click on any segment of pie or rectangle of Bar , that segment/rectangle want to capture.

Plz suggest ?

Thanks&Regards,
Anupam
--------------------------------
From: Anupam Soni

-----------------------
Posted by a user from .NET 247 (http://www.dotn...)

<Id>5Islf+kxM0uQLPFpwP+PxA==</Id>
2 Answers

Bob Powell

9/22/2004 9:56:00 AM

0

This implies that you need a retained mode graphics system. The GDI+ FAQ has
an article on that ans also on on hit-testing lines. This can be extended to
hit-testing shapes also.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdipl...

The GDI+ FAQ RSS feed: http://www.bobpowell.net/f...
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tips...
Bob''s Blog: http://bobpowelldotnet.blogspot.co...






"Anupam Soni via .NET 247" <anonymous@dotnet247.com> wrote in message
news:%23En955GoEHA.4032@TK2MSFTNGP15.phx.gbl...
> Hi All,
> I am facing one problem in GDI(C#) . I have drwan Pie/Bar graph using
system.drawing but now I find out if user click on any segment of pie or
rectangle of Bar , that segment/rectangle want to capture.
>
> Plz suggest ?
>
> Thanks&Regards,
> Anupam
> --------------------------------
> From: Anupam Soni
>
> -----------------------
> Posted by a user from .NET 247 (http://www.dotn...)
>
> <Id>5Islf+kxM0uQLPFpwP+PxA==</Id>


Frank Hileman

9/22/2004 2:45:00 PM

0

A retained mode graphics system, as Bob suggests. The VG.net runtime is
free.

Regards,
Frank Hileman

check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

----- Original Message -----
From: "Anupam Soni via .NET 247" <anonymous@dotnet247.com>
Newsgroups: microsoft.public.dotnet.framework.drawing
Sent: Tuesday, September 21, 2004 11:36 PM
Subject: anupamsoni@yahoo.com


> Hi All,
> I am facing one problem in GDI(C#) . I have drwan Pie/Bar graph using
system.drawing but now I find out if user click on any segment of pie or
rectangle of Bar , that segment/rectangle want to capture.
>
> Plz suggest ?