| Thread | Last Post | Replies |
|
| drawing tools: single use or durable | 10 Apr 2005 10:09 GMT | 1 |
A beginner's question: for drawing tools like pen or brush, should they be created and disposed everytime they are used or saved for multifple use. e.g. protected override void OnPaint(PaintEventArgs e) {
|
| Displaying Data in form | 08 Apr 2005 21:09 GMT | 2 |
First I am new to VB.Net and new to the graphics as well. I have written in the past(8+ years) in several languages, but have only recently begun to write again, now in the newer languages. I am working with some data that I am displaying in a linear fashion by using the
|
| Colored pixels on edge of image | 08 Apr 2005 10:55 GMT | 8 |
I know very little about images. I am a business application developer... I have a PNG image that has an irregular shape (a rectangle with 2 mountain peaks jutting up from the top edge). I am trying to show it on a transparent background for my splashscreen.
|
| Image and Printing and sizing image | 07 Apr 2005 23:20 GMT | 2 |
Ok, so I have a printer object. I have an image object. If I get the bounds in the Document_PrintPage it isn't in pixels. Yet my Image is. (Why in god's name would you make it so that it was different than the screen!??!!! It should already be converted damnit!) Anyhow, I need ...
|
| New To Imaging | 07 Apr 2005 16:43 GMT | 3 |
I am new to imaging in applications and wish to create an application which will draw some images in a Picture Box or similar in Visual Basic in Visual Studio DOT NET. I have a collection of 8 or so images which will be drawn in multiple locations kind of like a pac man game ...
|
| Rotate User Control | 07 Apr 2005 16:27 GMT | 3 |
i want to create my own control, but this control must be able to rotate. I know, how to overide OnPaint method. But..., for example I want to paint this control as rectangle with width 40, height 60 with variable rotation.
|
| Overriding WndProc WM_NC_PAINT in Textbox causes Design-time bugs? | 07 Apr 2005 14:37 GMT | 2 |
Recently I was fiddling with overriding the WndProc of a customcontrol inheriting TextBox. I noticed that when I handled the WM_NC_PAINT message myself, and I painted the border solid by filling the whole thing with a color, I was getting weird errors in designtime only when
|
| Custom TypeConverter for PointF, SizeF, RectangleF | 06 Apr 2005 21:07 GMT | 9 |
Is it possible to assign a TypeConverterAttribute to an existing .NET Framework class or structure? For example Point has a TypeConverter called PointConverter but the framework does not have a PointFConverter for PointF. Why does the framework not have these TypeConverters?
|
| Cannot save image under same path as it was loaded | 06 Apr 2005 19:49 GMT | 3 |
I'm trying to accomplish a way to modify images at runtime (ASP.Net Application). So, I thought I can load the image, operate on it and than save it again under the same path => wrong! When I try to save it on the same path as it
|
| Transparent Label | 06 Apr 2005 18:54 GMT | 4 |
I have a picture box with a picture in it. I place a label control over the picture control, and I set the BackColor property on the label to Transparent. And yet the Label does not show as transparent at runtime or design time.
|
| AntiAliasing of images or what? | 06 Apr 2005 18:37 GMT | 4 |
I'm newbie to C# and the same to GDI+ so please be patient ;) My problem is that I can't obtain image displaying as I'd like to. When I load for instance small bitmap (48 x 48 x 4bit) in it's original size it looks fine. But ... when I scale it to bigger size (either by matrix
|
| Custom Close,Min,Max Buttons GDI+ | 06 Apr 2005 17:18 GMT | 4 |
Hi, I was recently trying to create my own fully custom form, and I was hoping I could either remove and add my own close/min/max buttons, or redraw the close/min/max buttons that are the defaults in System.Windows.Forms.Form. Any helpful hints?
|
| Drawing on Desktop | 06 Apr 2005 17:06 GMT | 1 |
I'd like to create a simple app that uses the desktop as its form. I'd like to output text (and the occasional image) to the desktop. How can I draw text/images directly to the desktop? I see that GetDC and ReleaseDC will enable me to get and release a handle to the
|
| How can I transform the image and save it? | 06 Apr 2005 13:53 GMT | 2 |
How can I use ColorMatrix and ImageAttributes to transform a image object and save it to disk? All the sample I found just draw it on screen. Thanks very much.
|
| Bitmap scaling | 06 Apr 2005 12:26 GMT | 1 |
I have a bitmap that I want to display on a form. When I use: <graphics>.DrawImage(bmp, new Rectangle(10, 10, bmp.Width, bmp.Height)) - everything works as expected. But if I use: DrawImage(bmp, new Rectangle(10, 10, bmp.Width * 10, bmp.Height * 10))
|