all groups > dotnet drawing api > december 2003 > threads for december 29 - 31, 2003
Filter by week: 1 2 3 4 5
trouble creating an image from an array of bytes
Posted by NP at 12/31/2003 5:47:41 PM
I am trying to create an image from an array of bytes stored in a
base64binary dataset field and I keep getting the same error: System
argument exception. Invalid parameter used.
The field definitely contains an image because it is obtained from an image
file and placed into the database.
The e... more >>
Learning to place graphics
Posted by Gary Morris at 12/30/2003 9:25:03 PM
Happy New Year!
Just recently, I tried my hand at some GDI+, starting
slowly, and I'm having some trouble now. I tried just a
few drawings in a window, and some other stuff, which
wasn't too hard, but now I'm wanting to create a program
that will allow me to:
1) Select a button from a too... more >>
Loosing graphics reference
Posted by Crirus at 12/30/2003 6:16:26 PM
I have a bitmap and a graphics object wraped on it
When I use MakeTransparent on the bitmap, the graphics object dont draw on
it anymore.. I have to recreate the graphics from the bitmap.
Anyone can explain this?
Thank, Crirus
... more >>
GDI+ in a ASP.NET custom control
Posted by Gerben van Loon at 12/29/2003 8:30:35 PM
Hi,
Hope someone can help me on this. I like to make an own ASP.NET charting
control, so I need to render some graphics in a custom made control. I
already found this example:
protected override void Render(HtmlTextWriter output)
{
Bitmap objBitmap = new Bitmap(200,200);
Graphics ... more >>
Jagged icons in VB.NET Imagelist? ARGH!
Posted by Moogy at 12/29/2003 6:23:33 PM
Every time I load a nice-looking Windows XP Icon into my VB.NET Imagelist,
it turns out ugly and jagged around the edges. I believe this is from the
Alpha pixels being mapped to mask pixels instead of keeping their alpha
transparency value.
The ImageList is 32bbp with a size of 16x16.
So, ... more >>
Screen Grab of Application
Posted by James Hancock at 12/29/2003 4:53:26 PM
How would I go about getting a screen grab of my entire application (it's
parent form) programatically without using the Clipboard?
Thanks!
James Hancock
... more >>
Graphics and Sockets
Posted by Sueffel at 12/29/2003 4:29:38 PM
T2theSwgdGhpcyBpcyBraW5kYSBhIHNvY2tldHMgaXNzdWUgSSdtIHN1cmUsIGJ1dCBpdCBvbmx5
IGhhcyBwcm9ibGVtcyB3aXRoIGdyYXBoaWNzLiAgQmFzaWNhbGx5LCBJJ20gYnVpbGRpbmcgYSBw
cm94eSBzZXJ2ZXIsIGFuZCBldmVyeXRoaW5nIHBhc3NlcyB0aHJvdWdoIGV4Y2VwdCBncmFwaGlj
cy4gIEknbSBiZWluZyByZXR1cm5lZCB0aGUgc3RhbmRhcmQgQnl0ZSBhcnJheSwgYW... more >>
How do you increase the nonclient area to support a border in a UserControl
Posted by Paul at 12/29/2003 4:01:15 PM
I am mainly learning and wanted to develop a simple control - like the panel control, but want to make custom borders. Now the easy way is to simply use the controlpaint.drawborder, but this draws in the user area and not the non-client area, thus not giving the same effect as Microsofts panel cont... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Wrap a GraphicsPath around a square draw area
Posted by Crirus at 12/29/2003 10:49:59 AM
Hello
I have a square area to draw on...
I have a GraphicsPath that define the region of clipping so the draw occur
only on that region
The region is one or more circles
The problem I'm facing with is drawing a wraped region...
I can have one circle falling outside one side of the drawing su... more >>
Unespected behaviour of graphicsPath
Posted by Crirus at 12/29/2003 10:33:28 AM
Hi!
I just made a test on graphicsPath
I added 3 circles to a GraphicsPath and filled with one color into a panel
paint event..
What I noticed is that the overlapped part of 2 circles is not filled as it
is not inside the path...
How can I add multiple closed figures as circles to a GP a... more >>
Wrong alignment print printdocument
Posted by Frederik Vanderhaegen at 12/29/2003 10:07:32 AM
Hi,
Does anyone knows how to fix following problem:
I've created a printpreview with the printpreview control.
This looks perfect but the printresult is different from the preview.
I tested the program with a HP Deskjet 895CXI (win xp) and a HP Laserjet 4L
(win2k) and on those two printer... more >>
How to spell the word 'GIF', 'gif' or 'jif' ?
Posted by Shao Yong at 12/29/2003 9:25:33 AM
DrawImage Strange srcRect
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/29/2003 7:31:31 AM
Hi,
It seems that nobody talk about this problem before. So
it may be a problem of mine.
When I use the void Graphics.DrawImage(Image image,
Rectangle destRect,
Rectangle srcRect,
GraphicsUnit srcUnit
);
if the size of the srcRect is different from the destRect
I must reduce ... more >>
|