| Thread | Last Post | Replies |
|
| Cheating the Paint Event ? | 01 May 2007 00:23 GMT | 4 |
I really hate writing Paint Events ! (it showed ?) One strategy I explored to avoid writing a Paint Event in the case of a control with a partially transparent background placed over a second control (where, as we all know too well, only the Form background, not the second
|
| Save-for-Web from PhotoShop CS2 as 24 bit PNG is same as .NET 32bppPargb ? | 29 Apr 2007 23:55 GMT | 2 |
Curious if you save a PhotoShop document ... using the Save for Web option ... as a 24 bit png file with transparency enabled, and then assign the png file as the Image of a PictureBox control if the underlying bitmap is in 32 bit per pixel ARGB as Bob Powell emphasizes is the ...
|
| why .Net Matrix use float, but not double | 28 Apr 2007 23:10 GMT | 2 |
.Net Matrix class use float to store data, and Graphics use it to map points from logical to device. My Geometry data is double , and when I use Graphics to draw them, I have to translate. The effect is not good as well when the data is too
|
| Unable to clone an image | 28 Apr 2007 14:26 GMT | 2 |
Hi There, I need a little help. I have a class uses the PictureBox as a base. In this I want to store the current image twice. So I can restore the image when needed.
|
| tiff image from byte array | 27 Apr 2007 19:05 GMT | 1 |
I'm having problems getting the page count of a tiff image from a multi page tiff that was saved to a byte array and then loaded into a bitmap object using image.FromStream. When the following code is ran against a tiff file containing 2 pages the first line written to the ...
|
| Family Tree Diagram | 27 Apr 2007 15:32 GMT | 3 |
Any suggestions on how to draw a family tree in ASP .NET? I have a table called Users in my DB that stores all the relationships. Here are relevant fields: UserName
|
| Graphics objects --- passing the object vs the handle | 27 Apr 2007 06:04 GMT | 4 |
I have designed a set of classes which all accept a graphics object and then render lines, rectanges, text, etc to that object. There is a "parent" class which controls the instantiation of each class and also calls the render method for each class, passing the form's
|
| How to create a new graphics object with the same properties as an old graphics object | 22 Apr 2007 21:43 GMT | 2 |
I just posted this in VB group and then thought this NG might be more appropriate. I have an image and a graphics object created (FromImage) from that image. I need to create a new image and create a new graphics object from the new
|
| Measure the height of wrapped text | 22 Apr 2007 18:23 GMT | 2 |
I would like to measure the height of wrapped text (of specified font type and size etc). I know of the GetHeight method but how can I use it for a number of lines even if the number of lines is known, I suspect that multiplying the number
|
| How to change the size of the canvas? | 22 Apr 2007 15:21 GMT | 2 |
I have an image that is basically the canvas that the user draws on. He may also be making changes to the Graphics object that is used to draw on the canvas. Then he wants to make the canvas bigger and continue drawing.
|
| Image caching and graphics resources... | 21 Apr 2007 20:08 GMT | 3 |
I've got a winForm that has a good number of custom controls with custom graphics that are stored as resources in the project. Recently, I updated all of the graphics with a new look. Added all the new images into the resource file and deleted all the old images. But whenever the ...
|
| imprecise Graphics.RotateTransform | 21 Apr 2007 11:40 GMT | 2 |
I have an image representing a clock's minute hand and which I need to draw in the 12 positions. After fiddling a bit, i noticed that there's a strange offset from the hand in one position (i.e. 3 PM) and the opposite (9 PM).
|
| Flicker, even with BufferedGraphicsContext | 19 Apr 2007 10:49 GMT | 11 |
I can't seem to elimate flicker. I'm drawing to a panel via its OnPaint. I've tried setting the form's doublebuffer to true, to no avail, so I tried using ControlStyles.OptimizedDoubleBuffer, still no good. Then I tried using good old BufferedGraphicsContext in the panel ...
|
| Transparency problems | 19 Apr 2007 08:53 GMT | 1 |
Hy, I have a form with transparent BackColor (MyForm.TransparencyKey=MyForm.BackColor) and the OnPaint method draws a rectangle with a GradientBrush the gradient is from Color.Black to
|
| RotateTransform | 16 Apr 2007 20:57 GMT | 1 |
Ive got an Image object that im using as a canvas. Im using Graphics.Draw() and Graphics.DrawString() to place images and text onto the canvas. I've got everything working apart from rotation.
|