system.drawing
Class inheritance and polymorphism - drawing simple shapes
I can draw a circle, but am unable to draw a rectangle or draw a line.Can you guys see what it is that I am missing?[详细]
2023-01-08 17:42 分类:问答Write metadata to PNG image in .NET
I see more than a few questions asking how to read metadata from an image, but I haven\'t seen as many asking how to write metadata.Basically, I need to add one item of metadata (\"ImageDescription\")[详细]
2023-01-08 06:07 分类:问答In the .NET framework, why are there PointF (float) and no "PointD" (double)?
Can anyone explain why, in the .NET framework, there are PointF structures (using the single-precision float type) and no \"PointD\" (using the double-precision double type)?[详细]
2023-01-06 18:05 分类:问答Graphic autoscaling
I have the following codes to draw an unit circle open System open Microsoft.FSharp.Collections open Microsoft.FSharp.Math[详细]
2023-01-05 12:00 分类:问答Get File Size of Modified Image Before Writing to Disk
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百科[详细]
2023-01-04 07:51 分类:问答Set color through color code in c#
I am trying to add color in c# code, with the following color code for example. ListTreeView.Background = new SolidColorBrush(Colors.White);[详细]
2023-01-04 02:52 分类:问答When constructing a Bitmap with Image.FromHbitmap(), how soon can the original bitmap handle be deleted?
From the documentation of Image.FromHbitmap() at http://msdn.microsoft.com/en-us/library/k061we7x%28VS.80%29.aspx :[详细]
2023-01-03 13:30 分类:问答How to create a clip region from a path that includes the 'outline'?
I am creating a rounded rectangle GraphicsPath (see red outline image below), and then using this as a clip region bothwhen dr开发者_如何学运维awing graphics, and as the Region of a Form.[详细]
2023-01-03 12:19 分类:问答c# winforms - scrollable panel with rectangles
I\'m new to winforms and have tried to track down an answer to the following with no luck ... I have a panel in winforms and add to it a Rectangle that is wider than the panel itself. I\'ve set the p[详细]
2023-01-03 03:37 分类:问答Undo button for System.Drawing?
I am making a image editor k开发者_运维技巧inda for own enjoyment and was wondering how could I make a undo button to undo the last paints I did? I want to know how I would about this, a tutorial or s[详细]
2023-01-01 12:07 分类:问答
加载中,请稍侯......