all groups > dotnet drawing api > february 2004 > threads for february 1 - 7, 2004
Filter by week: 1 2 3 4
Panel Alignment
Posted by sam NO[at]SPAM samdavies.co.uk at 2/7/2004 6:44:06 AM
Hi,
I'm currently drawing a bitmap to a panel and have just written a zoom
function that allows me to increase the size of the bitmap, which in
turn changes the autoscroll property of the panel. I'd like the user
to be able to click on the panel and where they have clicked zoom in
on that co-... more >>
Need help. Having trouble locating GDI+ exception in Windows Forms.
Posted by Ken Varn at 2/6/2004 1:41:02 PM
I have a multi-threaded managed MFC C++ application that is using GDI+
through .NET.
I am loading successive JPEGs into a Bitmap object in one thread and
displaying them into a Windows Forms PictureBox control in another thread.
Mutexs have been put in place to protect the Bitmap object and Pi... more >>
Control Drawing Issue
Posted by Mike Starkey at 2/6/2004 11:06:06 AM
I have created a transparent control and I am using to to create drawing objects Inside the transparent objects I have created I am trying to using the draw shapes oval, rectangle etc. An example would be like in word are when you drag an oval onto the screen, the drawing resizes as the control do... more >>
c# Drawing error,Help!Help!HElp!
Posted by zengou at 2/6/2004 3:56:06 AM
My application have many picturebox objects,when run it ,sometimes i will
have a strange error,how to work out ,help me please!(in windows98,the error
cause frequently than in windowsxp
System.InvalidOperationExceptionSystem.InvalidOperationException: The object
is currently in use elsewhere... more >>
Convert Mouse position to picture position?
Posted by Petter L at 2/6/2004 12:21:00 AM
I making a Picture program where I want users to draw a rectangual to select
what they want to Crop in a picture. In my currently solution I'm having
problem with the crop resutl having more of the picture on the right/bottom
side that I selected with the rectangular.
Here is what my routines ... more >>
Stretching an image
Posted by Giulio Cifelli at 2/5/2004 9:27:20 PM
I have a BMP file save to disk. I want to be able to load
it, resize it to a specific size (by stretching it and
maintaining the aspect ratio), and then saving it under a
different name.
How can I do this with VB.NET? I have tried several
different things by using StretchBlt and I can't g... more >>
Winform transitions
Posted by timw at 2/5/2004 7:46:18 PM
Any ideas for transitioning between forms to prevent flicker?
tia
... more >>
custom design configurator application - Web application
Posted by rajani at 2/5/2004 2:52:40 PM
Hi ,
I want to know whether we can use dotnet drawing namespace to create a
custom design configurator application for windows or doors.This
application needs to be a web application.
The functionality would be
1) Start with some basic designs like ( rectangle , square etc)
2) Drag and dr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Screen Scrape to thumbnail image????
Posted by Curtis Tammany at 2/5/2004 2:50:47 PM
Hi-
Does anyone know how to take a screen scrape of a web page and convert =
it to a thumbnail image?=20
I don't know where to start.
Thanks in advance,
Curtis... more >>
Transparent child not picking up parent background correctly
Posted by matt redmond at 2/5/2004 2:01:12 PM
Hi All
I'll try to describe my problem as clearly as I can without being able to illustrate it..
I am doing a fill on a form with a gradientbrush. My brush rectangle is as tall and wide as the diagonal measurement of my target form - so I can use a RotateAt to rotate the background to any angle... more >>
Using drawings in .net for cerating a design configurator
Posted by rajani at 2/5/2004 12:09:04 PM
Hi ,
I want to know whether we can use dotnet drawing namespace to create a
custom design configurator application for windows or doors.
The functionality would be
1) Start with some basic designs like ( rectangle , square etc)
2) Drag and drop some shapes in to the basic designs so the basic ... more >>
An image of a control
Posted by Jaime at 2/5/2004 10:11:07 AM
Hello
I am trying to draw (at runtime) images of what a .NET control would look like. So what I am attempting to do is getting the Graphics object using the CreateGraphics function from the Control. What i cannot figure out, is once I have the Graphics object, how to get a System.Drawing.Image fr... more >>
Problems with rotate
Posted by mredmond NO[at]SPAM billmatrix.com at 2/4/2004 11:52:06 AM
Hi All,
I'm having some difficulty with a graphics issue. I'm not certain I'm
approaching the problem the right way...
Basically what I need to do is bisect the client area of my form and
fill each half with a gradient. BUT, I need to be able to bisect the
form at any angle. RotateAt see... more >>
ExtTextOutW and VB.Net
Posted by Benjamin Lukner at 2/3/2004 11:54:09 AM
Hi again!
I've spent a whole day on tryining to get ExtTextOutW to work.
I've found out a lot of things, and it works in VB6 with ExtTextOutA,
but I still have problems on VB.Net.
It's not possible to pass the font to the function.
In VB6, the function uses the font and colors of the Pict... more >>
TIF to GIF, loss of data
Posted by Marius Horak at 2/3/2004 11:29:59 AM
System.Drawing.Image image = null;
MemoryStream m = new MemoryStream();
image = System.Drawing.Image.FromFile(myTIF);
image.Save(m, ImageFormat.Gif);
Context.Response.BinaryWrite(m.GetBuffer());
The above code works but bottom of the picture is missing.
If TIF is small (<75K) all is OK b... more >>
Avoid flicker when drawing text
Posted by jarod1701 NO[at]SPAM gmx.de at 2/3/2004 7:52:31 AM
Hi,
I'm currently trying to let a string scroll over a picturebox by
repeatedly drawing it at changing positions.
This is basically the code i'm using:
m_gfx.Clear(m_colBackground);
iPos -= 5;
if(iPos < (0 - iTextWidth))
{
iPos = m_iWidth;
}
Rectangle myRect = new Rectangle(iPos, 1... more >>
Reducing the color depth of a bitmap?
Posted by Mike Grace at 2/2/2004 4:31:27 PM
Hi,
I have a bitmap object that is very high resolution and it takes up 20mb.
I want to reduce the color depth to be 2 colors in order to reduce the file
size.
Any ideas on how?
I am using C#
Regards
Mike
... more >>
Drawing error,Help!Help!Help!
Posted by zengou at 2/1/2004 7:11:09 AM
My application have many picturebox objects,when run it ,sometimes i will
have a strange error,how to work out ,help me please!(in windows98,the error
cause frequently than in windowsxp)
System.InvalidOperationExceptionSystem.InvalidOperationException: The object
is currently in use e... more >>
|