all groups > dotnet drawing api > april 2008
Amazing image done by single line in 1884
Posted by gandoza at 4/28/2008 12:57:54 AM
I received this picture on the e-mail .
Have been working on 1884 .
This work was done only by single line, starting from the nose and
ending the lower part, as shown on the image
Of course, there are some final toutches.
What do you think about this amazing art ....
http://gandoza.google... more >>
Inverting
Posted by Magnus Nilsson at 4/25/2008 1:37:00 AM
Is there an easy way to draw inverted lines/rectangles/circles using
System::Drawing::Graphics?
I need this to draw outlines that are visible on top of any type of
background image.
Thanks in advance,
Magnus... more >>
Displaying high-res images in .NET?
Posted by Usenet User at 4/24/2008 5:48:51 PM
..NET 1.1/2.0
I have a need to display high-resolution scrollable images in a .NET
application (Windows Forms). One well known solution is to create a
Panel with AutoScroll set to "true" and then add a PictureBox or
another Panel to it, that is used to display the image.
The above approach ... more >>
DrawDriverString EMF Record
Posted by elziko at 4/21/2008 4:07:02 PM
Hi,
I am trying to use Graphics.EnumerateMetafile in order to inspect any
DrawDriverString EMF records in a metafile and then change the string that
is contained within the record before using Metafile.PlayRecord to draw the
modified record.
Unfortunately I have found no useful documenta... more >>
How many New Courier characters fit int 6.5 inches
Posted by AAaron123 at 4/18/2008 4:20:14 PM
What is the width of a New Courier 12 point letter?
Or, how many such characters fit into 6.5 inches?
Thanks in advance
... more >>
Text in Metafiles
Posted by elziko at 4/17/2008 4:01:41 PM
Is there any way I can execute some sort of search and replace on the text
inside a metafile in code?
For example, if I had an instance of a Metafile I;d like to serach through
it looking for anu instances of the string "hello" and replace it with
"goodbye" before drawing the metafile onto ... more >>
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:03:45 PM
GC.Collect() not cleaning memory, how to find out what references to lots of
memory still exist?
When all my processign is done i set everything to null and then:
GC.Collect();
and then
GC.WaitForPendingFinalizers();
but it still shows that my process takes 400 MB of memory. Is there any ea... more >>
Problem rendering text with many colors
Posted by spamec@tlen.pl at 4/15/2008 4:53:00 AM
hi, I have some task with rendering text in winform and then printing
it. For now my solution is:
- store text with some tags in db (ex. Ron is great <t>friend</t>)
- in app before rendering it I replace tags with appropriate html tags
(ex. <font style="color:red"></font>)
- put html in htmll... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Retaining png transparency problem
Posted by Paul at 4/11/2008 4:30:16 PM
This code will display a transparent png image correctly:
Bitmap bm = (Bitmap)Bitmap.FromFile(path);
outerImage = bm;
ultraPictureBox1.Image = outerImage;
But if I do it as the next code shows, the transparency is lost. Why?
Bitmap bm = (Bitmap)Bitmap.FromFile(path);
outerImage = Bitmap.... more >>
Bitmap + Clipboard + Transparency = Blue Background?
Posted by mcse3010 at 4/11/2008 9:20:07 AM
Hey folks, I think this is my first time asking a question here, so please go
easy on me
I have an application wherein I render a transparent bitmap (to be specific
-- a chart with a transparent background).... When I do, I then try to copy
it to the clipboard using:
bmp.Save(filename)... more >>
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:37 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!!
How come? What can cause this?
... more >>
winforms drawing problem with labels and picturebox
Posted by Bill Woodruff at 4/9/2008 12:51:50 PM
..NET 2.0, VS Studio 2005 Enterprise, on Win XP Pro SP2 machine
Hi,
I have a form in my application that contains some labels and one
picturebox.
Running on my main development machine [win xp pro HP] (1280x768 22" LCD)
the form looks right. The development machine has .NET 2.0 and VS 2... more >>
Maximum Bitmap size
Posted by usenet@tynemarch.co.uk at 4/9/2008 7:34:35 AM
When I use the following code in a web page it works fine until my
Bitmap size gets to a certain size, e.g. 5214 x 3223. Then I get a red
cross, but no run time error occurs. What is the maxmum size of the
bitmap and how do I trap for the error?
Code is here. The actual details of what is draw... more >>
Virtual Units in GDI+
Posted by Charlie Barr at 4/8/2008 2:05:01 AM
I am in the process of writing a viewport control, that will used to dispay
musical notation. The geometry of the musical notation however is represented
as virtual
units, though I have an algoithm that can convert these virtual units to
inches.
In what way would I need to set up the PageUni... more >>
A generic error occurred in GDI+.
Posted by schneider at 4/7/2008 10:09:11 PM
Hello,
I get this error when serializing a object. Specificly an bitmap in the
object. This object is obtained from a different dll than the one
serialized, could that be the problem? That seems to be the only
difference...
Any way to fix this?
Thanks,
Schneider
below if the code and ... more >>
|