| Thread | Last Post | Replies |
|
| (Accepted Bug?) How does Graphics.DrawImage use ImageAttributes.SetColorMatrix matrix? | 31 Dec 2004 23:34 GMT | 3 |
It seems a little odd to me that the matrix set in ImageAttributes.SetColorMatrix is not being used for matrix multiplication in Graphics.DrawImage on the pixel values. In particular the matrix,
|
| Clipping | 31 Dec 2004 22:27 GMT | 2 |
Hello Group, I am using the GDI and GDI+ Together. Now in my old code I've setup a clipping region for my GDI Canvas, then I draw something with GDI+ on it. Does the clipping region affect the GDI+ as well so that only the required
|
| Sizing an image | 31 Dec 2004 15:00 GMT | 2 |
I have an image object of which I want to perform a high quality resize and create a new Image (don't want to draw it to the screen). I have tried using Image.GetThumbnailImage but the quality of the image returned from this method really sucks. I know there must be a better way ...
|
| How to draw on form's title bar? | 31 Dec 2004 14:54 GMT | 1 |
Hi.. Please suggest me some way to draw on title bar and add new Button to title bar. If possible give demo code. Thanx
|
| Question about Saving image after it has been loaded. | 31 Dec 2004 01:58 GMT | 1 |
If I load an image using Image.Load(), and then call Image.Save() to save the image back out with a new filename, will the image be saved in its original format or do I have to explicitly add the ImageFormat argument to Save?
|
| DrawString / Ellipsis / word gaps problem | 31 Dec 2004 01:36 GMT | 5 |
another very strange behaviour with ellpisis and the DrawString method. If I display the string "This is a string" with no ellipsis, there is a certain gap between words. Let's say 6 pixels between "This" and "is". If the bounding rectangle is smaller and ellipsis appear, the gap
|
| Derive class from System.Drawing.Image | 29 Dec 2004 13:20 GMT | 1 |
If I want to support different format of image, should I derive a class from System.Drawing.Image? But the Image class marks the default constructor as internal. Any ideas?
|
| Twips to Pixels | 29 Dec 2004 07:28 GMT | 2 |
I wrote an application in vb6 to save certain items is twips. I would like to convert those items that were saved in a Twips format to Pixels. Is there a function or a way to convert Twips into Pixel? thanks in advance...
|
| I am seeking info on Display Driver Management Layer (DDML)... | 29 Dec 2004 04:18 GMT | 3 |
My own searches have proven to be of little help in understanding the implementation of this technology (available since Win98). Any information that you could share on Display Driver Management Layer (DDML) usage would be greatly appreciated.
|
| Paint message received... but no painting! | 26 Dec 2004 19:51 GMT | 1 |
I'm writing in C# and have developed a panel control that contains a matrix of pushbuttons. It seems to work fine until you pull a modal dialog over the panel. Then drawing goes berserk and you get garbage, so moving the dialog around causes the display to look very bad.
|
| How to determine grayscale image ? | 24 Dec 2004 08:50 GMT | 3 |
How to determine that a loaded Bitmap is grayscale ? I am loading a grayscale JPEG using System.Drawing.Bitmap.FromFile() and PixelFormat property is Format8bppIndexed. It's strange to me, that there is no something like Format8bppGrayScale in GDI+ (there is only
|
| Straightening Out A Circle? | 23 Dec 2004 12:14 GMT | 7 |
Folks, I have a scanned image which is circular, and contains a trace in the middle of it (for those of you familar with trucks it is a tachograph chart!).
|
| Drawing with PointF and SizeF structure | 22 Dec 2004 20:24 GMT | 1 |
I'm a newbie to programming and my question is: For what is it good to draw with float values in graphic routines since pixels are always integer. Also I have tried the following code and ask myself if this is correct:
|
| Filling a panel with a LinearGradientBrush brush | 22 Dec 2004 13:09 GMT | 2 |
I'm not doing this for any particular reason, but was just playing with specialising windows controls. It's driven me mad... I wanted to create a control, derived from System.Windows.Forms.Panel (though, i started with System.Windows.Forms.UserControl) that fills
|
| GDI - Drawing vertical text | 22 Dec 2004 09:59 GMT | 1 |
Hi everyone... does anybody have any sample code for drawing vertical text in C# using Win32 GDI? I need to properly dispose any memory allocated too. I was able to draw horizontal text with this code: IntPtr hFont = font.ToHfont();
|