Hi,
I need to develop a user control which displays some rectangles and
polygons. To draw something like this seems to be easy but I need the
functionality that the user can click on some lines to select these
lines of a polygon them. Is there a framework available like eclipse
GEF or JGraph in Java.
Thanks for every hint
Andreas 2 2825
You might be interested in the article on hit-testig lines in the GDI+ FAQ. http://www.bobpowell.net/hittestlines.htm
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Andi" <an************ ***@skillworks. dewrote in message
news:c1******** *************** ***********@i7g 2000prf.googleg roups.com...
Hi,
I need to develop a user control which displays some rectangles and
polygons. To draw something like this seems to be easy but I need the
functionality that the user can click on some lines to select these
lines of a polygon them. Is there a framework available like eclipse
GEF or JGraph in Java.
Thanks for every hint
Andreas
Thanks for the answer. That sounds good. I have just one more problem.
I am using
e.Graphics.Scal eTransform(scal eFactor, scaleFactor);
to scale my picture. Is it possible to overgive this factor in some
way?
On 11 Feb., 12:17, "Bob Powell [MVP]" <b...@spamkille rbobpowell.net>
wrote:
You might be interested in the article on hit-testig lines in the GDI+ FAQ.
http://www.bobpowell.net/hittestlines.htm
--
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consultinghttp://www.ramuseco.co m
Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.n et/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.n et/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Andi" <andreas.schnei ...@skillworks. dewrote in message
news:c1******** *************** ***********@i7g 2000prf.googleg roups.com...
Hi,
I need to develop a user control which displays some rectangles and
polygons. To draw something like this seems to be easy but I need the
functionality that the user can click on some lines to select these
lines of a polygon them. Is there a framework available like eclipse
GEF or JGraph in Java.
Thanks for every hint
Andreas
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alex Gittens |
last post by:
I'm new to Python from Perl, and loving it. Has there ever been any
discussion of creating a similar resource as CPAN for Python, or a
similar distribution method as PPMs? Seems like it would make a great
language even better.
Alex
--
http://tangentspace.net/cz
|
by: windandwaves |
last post by:
Hi Folk
I want to create something like AMAZON: those who liked page A also liked
page B (I am going to apply the concept to a few different selections, but
to keep it simple I will talk about page popularity here - like AMAZON talks
about purchase patterns: those who bought A also bought B, C and D).
In my mysql table, I record everytime a visitor looks at a particular page
(I keep track of people with sessions and they can only look...
|
by: Tinus |
last post by:
Hello all,
I was wondering... Is there a way to create a Array so that I can call a
value with a name i.s.o. a index number? Something similar like a DataTable.
This is what I want: Declare a array of some sorts, private string test;
....
I don't want to get the value by saying: test but test
Can this only be done with a DataTable? But DataTables are for databases
|
by: Andreas Müller |
last post by:
Hi,
I was wondering, if there is something similar in VB.NET like the using
statement in C#. What it does is to automatically call Dispose on the
object decrared with in the statement when the block exits.
using (MyBoj)
{
}// MyObj.Dispose is called
|
by: jnair |
last post by:
from the perl man pages of LWP::Simple
mirror($url, $file)
Get and store a document identified by a URL, using
If-modified-
since, and checking the Content-Length. Returns the HTTP
response
code.
is there something similar in python
| |
by: cmk128 |
last post by:
Hi
Do we have something like www.jgraph.com framework for c#?
thanks
from Peter (cmk128@hotmail.com)
|
by: MotoK |
last post by:
Hi Experts,
I've just joined this group and want to know something:
Is there something similar to smart pointers in C or something to
prevent memory leakages in C programs.
Regards
MotoK
|
by: chrismcb |
last post by:
In C++ I want to statically create an array that contains variable arrays
inside of it. Or something similar.
Essentially I want to do something like this:
{
{"name1", {a, b, c} },
{"name2", {b, c} },
{"name2", {d} }
}
I want an array of names, and with each name I want to associate an list of
|
by: RickMuller |
last post by:
One of my all-time favorite scripts is parseline, which is printed
below
def parseline(line,format):
xlat = {'x':None,'s':str,'f':float,'d':int,'i':int}
result =
words = line.split()
for i in range(len(format)):
f = format
trans = xlat.get(f,'None')
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |