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 > october 2006 > threads for october 8 - 14, 2006

Filter by week: 1 2 3 4 5

How to deal with fully transparent ARGB pixels?
Posted by Carles at 10/13/2006 1:56:04 PM
Hello, Supposed a 3x3 ARGB (not-premultiplied RGB) bitmap where: - Center pixel is defined as hFFFFFFFF (pure white and full opaque) - Eight surrounding pixels are defined as h00FF0000 (pure red and full transparent) Now supposed we resize image to a 5x5 bitmap. A simple interpolation me...more >>

How do I draw non-antialiased, pixel-perfect rounded rectangles?
Posted by Joergen Bech NO[at]SPAM at 10/13/2006 12:00:00 AM
I need to draw rounded rectangles on the screen as well as on a printer device. Ideally both filled and unfilled. I have seen multiple examples on the Internet using paths/arcs, but they all seem to produce asymmetric for some - if not all - corner diameters. Some examples gloss over this pr...more >>

2d Tile Maps and Sprites
Posted by AMDIRT at 10/12/2006 11:39:01 AM
Hello Everyone, I am hoping that you can point me into the correct direction. I am playing around with a 2d tile map and am wondering how to display and be aware of items. Example 1: my tiles are 32X32 while I have a tree that is 128X96. When I place the tree at coords 4,3 or 4 tiles ...more >>

C#/.NET code for graphics similar to Paintbrush?
Posted by Loren Rogers at 10/12/2006 9:56:25 AM
Hello, I'm sure something like this may have already been asked, and I'm going to do a search. But I'm looking for some code snippets or code base of how to paint different objects like scribbles, or text or a picture on a window and then be able to select that individual object to move it ...more >>

Scrolls and Painting Refresh
Posted by KillerCode at 10/12/2006 3:51:40 AM
Greetings to you all I've been desperated because I can solve this... Please someone give a hint Here is the problem... I have a form with a datagrid and above the datagrid I'm doing some painting on the OnPaint event of the Form. When I scroll the grid left or right they should both...more >>

Fading at bottom of images on resize?
Posted by Chris Ashley at 10/12/2006 1:45:17 AM
I am splitting up a large image into strips and then resizing the individual pieces using the following code: Bitmap bmOutput = new Bitmap(intDestWidth, intDestHeight); bmOutput.SetResolution(bmpToSize.HorizontalResolution, bmpToSize.VerticalResolution); Gra...more >>

GDI or GCI+
Posted by dave at 10/11/2006 4:30:01 PM
Hello: I have UI that have two panels on which complex images being redrawn every sec. It works OK but sometime there is slight, vey small flickering I wrote it using GDI+. I've heard that most card don't support GCI+. Bob Powell mention that "Matrox" and "AFAIK" the only one to s...more >>

AutoScrollPosition not updating scroll position
Posted by illegal.prime NO[at]SPAM gmail.com at 10/11/2006 3:07:22 PM
So I have a working application that has two panels - Panel A and B. Panel A sends scroll updates to B. Then I added a third Panel to my application that sits atop these two panels (call it Panel C). If I make Panel C visible by increasing its height - then my AutoScrollPosition updates to Pan...more >>



how to get coordinates of image in picutre control
Posted by Pannu at 10/11/2006 10:14:43 AM
I have a picturebox on my VB.NET form. The picturebox size mode is set to stretched. I then load an image into that form and display it. As the user moves the mouse over the form, I want to get and display (in the status bar) the image coordinates of the mouse location. However, if I use the p...more >>

MemoryStream and ImageFormat.Png problem?
Posted by OPL at 10/11/2006 12:00:00 AM
I'm having a problem trying to read a bitmapped file into a memory stream and then into a byte array. Here's an example as to what I'm doing: Bitmap bmp = new Bitmap(@"c:\windows\Soap Bubbles.bmp"); MemoryStream mem = new MemoryStream(); bmp.Save(mem, ImageFormat.Png); byte[] imageArray =...more >>

Drawing Charts with GDI+
Posted by ThunderMusic at 10/10/2006 11:01:30 AM
Hi, I have a question... I'm trying to learn how to draw charts using GDI+, especially pie charts, but would do bar charts afterward... I know there are a lot of third party libraries out there, but I want to learn how it's done. For 2D, there's no problem about it... my problem comes with...more >>


DevelopmentNow Blog