Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet drawing api > april 2006 > threads for april 1 - 7, 2006

Filter by week: 1 2 3 4 5

Filled polygons print to PDF as opaque
Posted by billw NO[at]SPAM online.nospam at 4/7/2006 12:06:02 PM
I am using .NET 1.1 (C#) to draw a graph. I am having trouble printing overlapped polygons that are filled with a transparent brush (HatchBrush(AHatchStyle, AColor, Color.Transparent)) to a PDF (or any PostScript based printer.) They print as though they are opaque, not tranparent. I co...more >>


Want Gif, but got PNG
Posted by Liming at 4/6/2006 9:36:15 AM
Hi all, I have a byte[] and I'm trying to stream it back to my aspx page using Resposne.OutputStream I set the content-type to "image/gif".. but when I stream it back, I got a png instead. here is a watered down version HttpContext.Current.Response.Clear(); HttpContext.Current.Respons...more >>

ugly drawn text to bitmap buffer
Posted by carry at 4/5/2006 11:07:12 PM
Hi all I'm drawing text and some other shapes on bitmap buffer. All objects just in one pass, but the text looks fuzzy as it were painted more times when bitmap is dropped on Graphics. I checked it with diagnostic output and it's drawing method is called just once, same as on other shapes. ...more >>

Convert unsafe code to safe, how to convert pointers to regular GDI+ methods?
Posted by Liming at 4/5/2006 3:42:09 AM
Hi all, Can anybody help me with this? I'm trying to convert this Color Quantaizaton code from unsafe to safe, but I don't understand pointers. How can I do convert this code to the safe version? I know from research, I can get a byte of a bitmap by doing byte pSourceRow = Marshal.ReadB...more >>

Cropping or extracting ellipse from image
Posted by brett.raven NO[at]SPAM gmail.com at 4/5/2006 2:18:35 AM
Hi, I need to write a C# method that grabs an elliptical 'sample' from an image and save it to a new image. More pointedly, I need to take a rectangular picture of someones face, place an elliptical outline centred on their nose (basically) and make everything outside that ellipse a transpare...more >>

Outer limits of DrawLine?
Posted by Owkmann at 4/4/2006 6:22:11 PM
When I run the following code, I get two lines, the first draws normally, but the second looks like an error. Simply reducing 8.4e6 to 8.3e6 causes the line to draw correctly. Am I doing something wrong here, or is this a bug? Is there a way to use the larger X value without scaling? I am usin...more >>

Optimizing the intersection of polygons
Posted by chris_cook_work NO[at]SPAM yahoo.co.uk at 4/2/2006 6:22:01 PM
Hi, Having cobbled together the following polygon and line structures, I'd appreciate any suggestions on how to improve them. In particular, I'd gratefully receive any advice on how to speed up the intersection routine either by optimizing it or replacing it with a more efficient approach. ...more >>

TIFF missing NewSubtypeFile kills GDI+
Posted by realfnad NO[at]SPAM gmail.com at 4/1/2006 3:04:52 AM
Hi all I've been pulling my hair out over this one all day. If I try and load a TIFF image that is missing PropertyItem 254, GDI+ becomes very unstable. Generally these are 1bit PackBit compressed TIFF files. I've had crashes in Bitmap.New(myStream) at GdipImageForceValidation. I researched...more >>




DevelopmentNow Blog