473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Elliptical

Hi All,

How to select a Elliptical area from an image in .NET.

regards
Suresh
Nov 16 '05 #1
3 1161
Suresh,

You want to select it? Do you want an object representation, or do you
want to indicate that the area is selected when it is displayed? What are
you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"suresh" <su****@discussions.microsoft.com> wrote in message
news:1c*****************************@phx.gbl...
Hi All,

How to select a Elliptical area from an image in .NET.

regards
Suresh

Nov 16 '05 #2

I want to indicate the area is being selected.
-----Original Message-----
Suresh,

You want to select it? Do you want an object representation, or do youwant to indicate that the area is selected when it is displayed? What areyou trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"suresh" <su****@discussions.microsoft.com> wrote in messagenews:1c*****************************@phx.gbl...
Hi All,

How to select a Elliptical area from an image in .NET.

regards
Suresh

.

Nov 16 '05 #3
An elliptical area can be surrounded by a rectangle. So I think the best way
is to catch the mouse_up and mouse_down events to select a rectangle on your
screen. Then you can draw the ellips inside the rectangle by getting the
coordinates of each point and getting that pixel and xor'ing it with
(256,256,256). To do this fast I think you will need to use unsafe
programming in stead of getpixel(), setpixel() for every pixel you want to
change. If you also use the mouse_move event you will be able to draw it
dynamically.

Yves

"suresh" <su****@discussions.microsoft.com> schreef in bericht
news:1c*****************************@phx.gbl...

I want to indicate the area is being selected.
-----Original Message-----
Suresh,

You want to select it? Do you want an object

representation, or do you
want to indicate that the area is selected when it is

displayed? What are
you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"suresh" <su****@discussions.microsoft.com> wrote in

message
news:1c*****************************@phx.gbl...
Hi All,

How to select a Elliptical area from an image in .NET.

regards
Suresh

.

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: PA | last post by:
Hi, I want to implement the following in an applet: ^ | | + + + + + +H | + | + | H | +
303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
8
by: Elaine Jackson | last post by:
Can anyone please tell me the actual syntax for saying something like this: for <file> in <directory>: <do something with the file> (?) Muchas gracias. Peace
9
by: Fabian | last post by:
Is there any way of determining when the first day of a *lunar* month (far eastern lunar months if it makes a difference) falls, using javascript? -- -- Fabian Visit my website often and...
19
by: chart43 | last post by:
I have question about the technique for css dropdown menus described in http://www.alistapart.com/articles/horizdropdowns/. Based on an html list, it has a few items in a 1st order list and further...
2
by: Eurydice | last post by:
I would like to put a javascript code to obtain on my meteo page http://perso.wanadoo.fr/jmrw/Meteo/Meteo.shtml the time of the raise and the sunset of the sun according to the date. I have...
15
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility,...
2
by: John Nagle | last post by:
Trying to build M2Crypto on a dedicated server running Red Hat Fedora Core 6. I'm trying to do this right, without manual patching. The error message I'm getting during build is: python...
7
by: John Nagle | last post by:
Back in March, I posted this: That was for M2Crypto 0.17. It's still broken in M2Crypto 0.18. And there's no RPM or Windows binary. Nobody actually uses this stuff, do they?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.