I want to draw a shape to the alpha channel only of my image.I can use a colour matrix when drawing an 开发者_StackOverflow社区image with Graphics.DrawImage(..), as it has a parameter to pass in the I
I am building a C# application that uses GDI+ to draw images and shapes to the form but I have no idea how to delete them. Let\'s say I have a optional grid drawn using GDI+ and when users turns it of
I\'ve always been confused/unsure about how .Net copies references. Let\'s say I have a Bitmap object for GDI+.
nearly every time I use Graphics.DrawRectangle or Graphics.FillRectangle (the int versions) I seem to miss the pixels on the right and bottom border of the rectangle I want to draw.
Result: alt text http://lh4.ggpht.com/_1TPOP7DzY1E/TCyG2pVxi2I/AAAAAAAADSM/TTqZZxh5LR8/s800/Capture4.gif
(source: roughnotebook at sites.google.com) I need to switch from the XY co-ordinate system shown above to the X\'Y\' co-ordinate system using System::Drawing::Drawing2D (i.e. GDI+). This is what I h
I see that Region.IsVisible(rectangle) is not working as I expect. So, is me who expect that should not, or is the method that is doing not that it should ??!
I am looking for the most efficient way to take 开发者_如何学编程repetitive desktop screenshots in C#.
C# certainly isn\'t my strong suit so I appreciate all the generous folk sharing their knowledge. I\'m working with a Windows Form and I\'ve read up on events and have found some excellent help on how
I\'m doing a conversion from .jpg to .png in System.Drawing and one thing that I\'ve found is that this conversion tends to make the resulting converted .png much larger than the .jpg orig开发者_C百科