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 > january 2005 > threads for january 15 - 21, 2005

Filter by week: 1 2 3 4 5

Inverse text - with transparency!
Posted by Paul Wardle at 1/21/2005 9:51:23 PM
Is there anyway to draw transparent text on an black rectangle (without using a temporary bitmap) in GDI Plus? This should leave etched out letters in a black area through which I can see the background. Any ideas? Paul Wardle ...more >>


Does anyone know SystemColorTracker
Posted by Sascha Füller at 1/21/2005 9:45:33 PM
Hello everybody, does anybody know what System.Drawing.Internal.SystemColorTracker is doing? The reason I ask this is a strange behavioer I found in my application. I think I can fix the problem, but the behavior of this component (SystemColorTracker) seems really confusing. As I was p...more >>

System.Drawing.Bitmap alpha
Posted by instruo at 1/21/2005 5:59:02 PM
I'm using the System.Drawing.Bitmap class for loading a 32-bit bmp file which includes an alpha channel. The problem is, when it gets loaded (just using the Bitmap(string filename) constructor), it doesn't bother bringing the alpha along with it. All of the pixels just show "255" as their ...more >>

Screen Size and Print Size
Posted by mike at 1/21/2005 2:49:01 PM
Hi, Is there a way to determine the physical size of the client rectangle? i.e. I have a panel i draw to, and I want to know the actual physical size of the rectangle, regardless of the scren resolution. My first attemp was just using e.Graphics.DpiX and e.Graphics.Pixel but after readi...more >>

Image Transparency Lost When Saving
Posted by michael.hofer NO[at]SPAM civigenics.com at 1/20/2005 1:47:37 PM
I've searched through the archives in these newsgroups and throughout Google in general, and everything seems to indicate that .NET 1.1 doesn't support saving transparent images to disk (either BMP, GIF, or JPG). Is this true? If so, any idea on when Microsoft plans to fix that? It's great ...more >>

Color problem with DrawImage
Posted by adospace at 1/20/2005 11:43:40 AM
Hi all, I'm using DrawImage method to draw various kinds of images (bmp, gif & jpeg) into a control paint event handler. I notice that image drawn has different colors from the original saved image. For example if I draw an image with a RGB(192,192,192) background color the resulting image...more >>

Is Anyone In?? Working?? Wakeup!!! Help!!!! FYI, Holidays are over.
Posted by Heino.Jebsen NO[at]SPAM web.de at 1/20/2005 4:01:53 AM
Hello is it possible to change print orientation page by page say Page 1 - Portrait Page 2 - Landscape Page 3 - Portrait Page 4 - Landscape Page 5 - Portrait Page 6 - Landscape Page 7 - Portrait Page 8 - Landscape It is not very clear whether .Net is capable of printing where we...more >>

grnerate a serverside gif-image from a textinput
Posted by stine.grith NO[at]SPAM creuna.dk at 1/20/2005 1:20:13 AM
We are generating a serverside gif-image from a textinput. The problem is that we also are trying to draw a border around the text at the image. First we draw the image using Bitmap and graphics, then we use GraphicsPath and Pen to draw the text, which is white with a black border. The pro...more >>



Serialize error
Posted by Dave at 1/19/2005 12:05:09 PM
I'm trying to add a single bitmap image as part of a serializable class definition. When trying to save the class to a file I get the following error: A generic error occurred in GDI+. The class definition is something like this: <Serializable()> Public Class myClass : Implements IClone...more >>

problems with Paint() event of the control
Posted by marko v via DotNetMonster.com at 1/19/2005 8:50:42 AM
Hi all, I have one frustrating problem. I have class which contains Panel control(using for drawing). Drawing in this control is thru Paint() event. In Paint() event I have Graphics object and I'm doing necessery drawing. Some method of class (drawImage or addImage..) in which I call Panel.Invali...more >>

transparent image on PocketPC
Posted by marko v via DotNetMonster.com at 1/18/2005 11:52:29 AM
Hi, I have a problem with a trancparency on PocketPC. Method Bitmap.MakeTransparent() is work very good on PC but this method is not supported by Compact Framework. I have a simple task. I wanna draw a image above the other image like a layer. Image that I draw like a layer will have one backgro...more >>

Interacting with a complex image
Posted by Scott McChesney at 1/18/2005 9:25:24 AM
Folks - I've been given a project to work with, and I'm having a problem figuring out how to tackle it. I am working with the attached image, which is a chart that has to be filled in with values in specific locations. Those locations are "everywhere" - data, or captions to data, will have...more >>

Rotate EMF for print
Posted by Massimo at 1/18/2005 5:05:06 AM
HI, there is a way to rotate an EMF? RotateFlip doesnt work with EMF. How to copy EMF into a Bitmap and rotate it? Thanks in advance. Best Regards Massimo...more >>

Another Control drawing issue
Posted by Todd Bright at 1/17/2005 2:05:06 PM
Sometimes my UserControl will magically move and resize itself on the form when the app is run from the IDE. It looks like it reverts to the size of the actual control when the the control itself is open in the IDE. And in addition, it slaps it up at 0,0. It looks fine on the running app's ...more >>

Drawing Image and Disposing image from PictureBox
Posted by marko v via DotNetMonster.com at 1/17/2005 9:35:55 AM
Hi everyone, I have two questions if you like to help me a little I'm using PictureBox control on my PocketPC application. I have drawing and displaying in PictureBox. 1. Is it good method to all drawing, cleaning and stuff doing in other place(some other bitmap, graphics..) and then simply...more >>

Double-buffering issue
Posted by Todd Bright at 1/17/2005 7:29:22 AM
I've got a UserControl that I've created and I am handling all painting. I'm using the following line of code: SetStyle( ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true ); The problem is that when I add this line into my control's Load() even...more >>

Printer Margins Compared to PrintDocument Margins
Posted by Ciaran at 1/15/2005 12:20:17 AM
Hello, I am printing a printdocument to a lexmark laser printer. When viewing the document in a preview it looks perfect with 1.5cm borders all round. However the printer adds an extra 1.5 centimeters to the left and top borders. How do you handle this so the preview matches the print out...more >>


DevelopmentNow Blog