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 > august 2003 > threads for august 8 - 14, 2003

Filter by week: 1 2 3 4 5

Create Bitmap from rawbuffer(BYTE*)
Posted by Soja at 8/14/2003 3:01:21 PM
How can i create a Bitmap from a rawbuffer-BYTE* (from framegrapper). I do following: Bitmap *myBit2 = new Bitmap(wImage,hImage,wImage*sizeof(BYTE),PixelFormat::Format8bppIndexed ,(IntPtr)pbyteBuffer); pictureBox->set_Image(myBit2 ); the Bitmap were not correct displayed MFC Soja ...more >>


How to draw on PNG image
Posted by Naveen K Kohli at 8/14/2003 1:26:22 PM
I have PNG image. I want to draw something on it. The problem is that the image has pixel format of PixelFormat1bppIndexed. So the following call fails. Graphics *pG = Graphics::FromImage(&srcImage); Is there a way to overcome this issue? Thanks ...more >>

Arithmetic Exception upon loading form
Posted by Stoetti at 8/14/2003 8:23:48 AM
I have a big problem with .NET. I know that this problem is already treated in the Microsoft Knowledge = Base Article - 326219 http://support.microsoft.com/default.aspx?scid=3Dhttp://support.microsoft= ..com:80/support/kb/articles/q326/2/19.asp&NoWebContent=3D1 but the solution which is provi...more >>

DrawImage alpha blending against the desktop?
Posted by Gabe at 8/14/2003 7:51:56 AM
Hi all, I'm in a rut with a project I'm working on. I'm building a shortcut bar much like the one in OS X, basically a transparent panel with fully opaque bitmaps (with alpha transparency support) that grow/shrink etc much like this screenshot: http://www.dca.net/support/images/osxscreen1....more >>

The Matrix constructor Matrix(Rectangle, Points[])
Posted by oren_gabay NO[at]SPAM hotmail.com at 8/14/2003 6:17:54 AM
Hi All, I want to use Matrix(Rectangle, Points[]) to build a transformation that will set the origin to the lower left corner. The form size is: 500,500 pixel but in world unit I set width = height= 500 (so I will a scale (!=1) on both axes). This is the code I wrote (in the form1 construct...more >>

Font.FromLogFont producing strange results
Posted by Justin Van Patten at 8/13/2003 6:47:49 AM
Hello, I am having trouble converting a LOGFONT structure to a System.Drawing.Font object. I'm calling SystemParametersInfo to get the LOGFONT lfntSMCaptionFont from a NONCLIENTMETRICS structure. I seem to be doing this correctly, but when I try to create a System.Drawing.Font object with ...more >>

Using printer fonts
Posted by garrick svetov at 8/13/2003 6:37:23 AM
I am using a specialty (receipt/barcode) printer which has built in fonts (including barcode fonts). I'd like to print to this printer using the built in fonts. They are available via Wordpad, and I can find/select it for printing in VB6 by enumerating priner fonts in the printer object. ...more >>

URGENT: Internet Explorer Control: Print not working
Posted by Shardool Karnik at 8/12/2003 5:37:12 PM
Hi, I have an ASP.NET page that sends a request to the server to generate some html on the fly and print it through the server. Once the request comes in, the page is generated. I have a Internet Explorer Control that loads this page on the server side. Then I am calling the print function ...more >>



Drawing Text
Posted by Rahul Kumar at 8/12/2003 4:13:21 PM
Hi How do we draw text at an angle using Graphics object? Thanks RK ...more >>

saving content of a panel to a bitmap
Posted by cody at 8/12/2003 3:34:09 AM
hi, iam trying to save the content of a panel to a bitmap object. i can't figure out how. this can't be such kind of complicated! -- cody [Freeware, Games and Humor] www.deutronium.de.vu || www.deutronium.tk ...more >>

1bpp color reduction
Posted by Franco Gustavo at 8/11/2003 3:26:45 PM
Hi, How can I convert a 24bits Bitmap to a 1bpp indexed Bitmap?? Basically, from color to Black and White Does GDI++ have some class support to do that? if GDI++ doesn't support it, somebody has some algorithm to do this? Basically my problem is that I have a color image and I need stor...more >>

multi-frame image (tiff) help
Posted by Don McNamara at 8/11/2003 2:36:44 PM
I am trying to manipulate multiframe tiff files and running into some difficulty. Specifically, I am trying to rotate one frame of an image, or delete one frame of an image. When I call RotateFlip, only the current frame is retained in the image. Ugh. So, I started down the path of trying to...more >>

Serious printing issues in .NET C# (MS?)
Posted by Odin Jensen at 8/11/2003 2:05:40 PM
When I view something in the preview it's very different than what gets onto the printer. The margins while being the same values in print preview and actual printing also produces two different results. What's wrong here? Regards Odin Jensen...more >>

Photoshop Style Multiply effect?
Posted by Smoke at 8/11/2003 12:59:07 AM
is it possible to apply a multiply blend style effect to a image like in photoshop? ...more >>

ANN: ERM 3.1 Available for download
Posted by James Westgate at 8/8/2003 7:24:14 PM
Use ERM 3.1 .NET Edition to rapidly develop visually appealing flowchart, entity relationship, networking and UML applications in 100% managed code using the Microsoft .NET Framework. Free evaluation available. http://www.crainiate.net\erm3.asp ...more >>

How to interpret the Rectangle?
Posted by abhishek ghuwalewala at 8/8/2003 7:21:21 PM
I understand the System.Drawing.Rectangle is inclusive. So if I do something like the following: Rectangle bounds = new Rectangle(0, 0, 5, 5); graphics.DrawRectangle(Pens.Green, bounds); the drawn rectangle will contain pixel number 0 and 5 for both the width and height. This seems a little...more >>

Printing Certain Pages
Posted by M K at 8/8/2003 12:29:37 PM
I have a PrintDocument that could generate over 100 pages. My customers would like to be able to select only certain pages. I have not seen an example of how to do this. Could anybody help me? I have turned on AllowSomePages. But don't know how to use it correctly. ...more >>


DevelopmentNow Blog