tagged [drawing]
How to draw a checkmark / tick using CSS?
How to draw a checkmark / tick using CSS? How to the tick symbol using CSS? The symbols I find using [Unicode](https://en.wikipedia.org/wiki/Check_mark#Unicode) isn't aesthetically-pleasing. Icon font...
- Modified
- 6 May at 09:46
get extension from System.Drawing.Imaging.ImageFormat (C#)
get extension from System.Drawing.Imaging.ImageFormat (C#) Is it possible to get the extension, for any given `System.Drawing.Imaging.ImageFormat`? (C#) Example: This can easily be done as a lookup ta...
- Modified
- 4 Jan at 14:38
Cannot find Bitmap Class in Class Library (.NET Standard)
Cannot find Bitmap Class in Class Library (.NET Standard) I want to make a Class Library (.NET Standard) and I'm using System.Drawing, but I get the error: > CS0246 C# The type or namespace name 'Bitm...
- Modified
- 1 Aug at 13:17
How to use the projection/camera technique in c#
How to use the projection/camera technique in c# I drew the following grid: [](https://i.stack.imgur.com/6UUqT.png) The above grid is drawn using the following two methods, one to calculate the grid a...
- Modified
- 31 Aug at 20:30
Set System.Drawing.Color values
Set System.Drawing.Color values Hi how to set `R G B` values in `System.Drawing.Color.G` ? which is like `System.Drawing.Color.G=255;` is not allowed because its read only i just need to create a `Col...
- Modified
- 16 May at 11:11
4 points and Ellipse
4 points and Ellipse I have 4 points.. i can draw a polygon usign this code ![enter image description here](https://i.stack.imgur.com/4e3sV.png) # Question is still unanswared!!!
- Modified
- 3 Apr at 10:30
How to open a multi-frame TIFF imageformat image in .NET 2.0?
How to open a multi-frame TIFF imageformat image in .NET 2.0? or both produce image objects with only one frame even though the source is a multi-frame TIFF file. The tiffs are saved using the Image.S...
- Modified
- 30 Dec at 21:37
C# Drawstring Letter Spacing
C# Drawstring Letter Spacing Is is somehow possible to control letter spacing when using Graphics.DrawString? I cannot find any overload to DrawString or Font that would allow me to do so. By letter s...
- Modified
- 12 Sep at 09:30
Set color through color code in c#
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); This is working..but I...
- Modified
- 27 Jan at 16:50
Drawing Library for Ruby
Drawing Library for Ruby I am trying to code a flowchart generator for a language using Ruby. I wanted to know if there were any libraries that I could use to draw various shapes for the various flowc...
How To: Best way to draw table in console app (C#)
How To: Best way to draw table in console app (C#) I have an interesting question. Imagine I have a lot of data changing in very fast intervals. I want to display that data as a table in console app. ...
Drawing circles with System.Drawing
Drawing circles with System.Drawing I have this code that draws a Rectangle ( Im trying to remake the MS Paint ) ``` case "Rectangle": if (tempDraw != null) { tempDraw = (Bitm...
Draw a parallel line
Draw a parallel line I have x1,y1 and x2,y2 which forms a line segment. How can I get another line x3,y3 - x4,y4 which is parallel to the first line as in the picture. I can simply add n to x1 and x2 ...
- Modified
- 8 Sep at 21:37
Add color options to System.Drawings.Color
Add color options to System.Drawings.Color In visual studio, when creating controls in the markup(or in code-behind) you can specify colors in HEX format like this: "#FFFFFF", but you also can select ...
- Modified
- 25 Apr at 06:19
Alternatives to System.Drawing for use with ASP.NET?
Alternatives to System.Drawing for use with ASP.NET? After several days of tracking down bizarre GDI+ errors, I've stumbled across this little gem on [MSDN](http://msdn.microsoft.com/en-us/library/sys...
- Modified
- 24 Dec at 08:29
c# write text on bitmap
c# write text on bitmap I have following problem. I want to make some graphics in c# windows form. I want to read bitmap to my program and after it write some text on this bitmap. In the end I want th...
How to set multiple FontStyles when instantiating a font?
How to set multiple FontStyles when instantiating a font? In looking at the constructors for the System.Drawing.Font class there is a parameter to pass in one of the FontStyles defined in the System.D...
- Modified
- 11 May at 17:53
Drawing over an NSCollectionViews subviews
Drawing over an NSCollectionViews subviews I have the following code in an NSCollectionView subclass: ``` -(void)drawRect:(NSRect)rect { if(!NSEqualRects(highlightBox,NSZeroRect)) { [[NSCol...
- Modified
- 18 Oct at 13:2
How do I set the thickness of a line in VB.NET
How do I set the thickness of a line in VB.NET In VB.NET I'm drawing an ellipse using some code like this. But I want to set the thickness of the line. How do I do it? Is it a property of the Pen or a...
Outline text with System.Drawing?
Outline text with System.Drawing? I have the following code. Is there an easy way to put an outline on the text I am writing? ``` var imageEncoder = Encoder.Quality; var imageEncoderParameters = new E...
- Modified
- 17 Nov at 02:0
How do I invert a colour?
How do I invert a colour? I know that this won't directly invert a colour, it will just 'oppose' it. I was wondering if anyone knew a simple way (a few lines of code) to invert a colour from any given...
- Modified
- 7 Jan at 14:50
Compare two Color objects
Compare two Color objects This is VS2010 and .NET 4.0. I'm trying to compare two `System.Drawing.Color` objects. The value of `mStartColor.ToArgb()` is `16777215`. The value of `Color.Transparent.ToAr...
- Modified
- 21 Jun at 07:35
OutOfMemoryException: Out of memory - System.Drawing.Graphics.FromImage
OutOfMemoryException: Out of memory - System.Drawing.Graphics.FromImage I get Out of Memory exception when using System.Drawing.Graphics.FromImage (using latest versions of .NET software on Windows 20...
- Modified
- 8 Sep at 12:3