all groups > dotnet drawing api > october 2006 > threads for october 15 - 21, 2006
Filter by week: 1 2 3 4 5
Scaling a collection of points (lines)?
Posted by Craig Lucas at 10/20/2006 9:49:25 PM
Im kind of new to vb.net drawing routines. Im reading a collection of 2d
points from a
proprietary file. These points are simply for drawing lines, I can draw the
lines fine using Graphics.DrawLine, but I need to scale all the lines to fit
a rectangle of a given width and height.
What is t... more >>
Vertical Text
Posted by Bill Burris at 10/20/2006 11:34:25 AM
Hi,
When drawing vertical text the result is facing the wrong way. How do I
rotate the result by 180 degrees?
The code:
public void CenterVertText(Color color, Rectangle r, string str)
{
int y2 = p.Height - (r.Y + r.Height); // y = 0 at bottom
... more >>
GDI or GDI+
Posted by dave at 10/20/2006 9:27:01 AM
Hello:
I have C# appl that uses GCI+ to
draws/updates complex graphs every sec.
There is seldom small flickering.
Does somebody know if switching to GCI will
eliminate/reduce flickering ?
thnak you.... more >>
Text color using WriteLine
Posted by John Harcourt at 10/19/2006 1:02:02 PM
In a console application, how can I specify the color of the text when I do
a System.WriteLine() method? This is assuming of course that the output is
the console.
Thanks for any help.
... more >>
Text color using WriteLine
Posted by John Harcourt at 10/19/2006 1:02:02 PM
In a console application, how can I specify the color of the text when I do
a System.WriteLine() method? This is assuming of course that the output is
the console.
Thanks for any help.
... more >>
Check if area is empty
Posted by Teemu at 10/18/2006 5:07:05 PM
Hello!
Let's assume that I have a graphics object which contains lines and text in
arbitrary places. Then I take a small region from that graphics object.
How can I check if that region is empty? I mean the area contains only a
solid background color and there are no parts from lines or te... more >>
Drawing a windows form partially
Posted by Stig at 10/18/2006 3:43:57 PM
Hi
When I paint a form I would like to specify that a part of the form
should not be painted, to achive a transparent area of the form.
I have tried overriding the OnPaint and OnPaintBackground methods and
then tried to manipulate the graphics object's clip region to get an
area of 50x50 pi... more >>
Saving a Bitmap or Image type to a Byte() in a database - SQL Server 2005
Posted by jason.smart NO[at]SPAM email.cs.nsw.gov.au at 10/18/2006 12:00:00 AM
Thanks Bob for previous link.
The problem now is that the images are stored in the database as a Byte( ) ,
ie a Byte array. So I am having trouble converting the System.Drawing.Bitmap
type into a Byte( ). CType won't do this. Can anyone help me do this with
Visual Basic 2005.
Thanks
Jason
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Split a multipage TIFF file into single pages with VB 2005
Posted by jason.smart NO[at]SPAM email.cs.nsw.gov.au at 10/17/2006 12:00:00 AM
I need to save and retrieve multipage TIFF images to and from a database. I
would like to save them as seperate images in the database.
I am using VB 2005 and I can currently save and retrieve a multipage TIFF
but only as one image so I can only see the first page.
Can anyone steer me in the rig... more >>
The best technology for this job
Posted by khlaw NO[at]SPAM time.net.my at 10/16/2006 9:52:53 AM
May I know,
what is the best technology to draw a few rectangle 3d box
and later send the screen display to printer.
... more >>
Blue border on images TreeView
Posted by ms NO[at]SPAM ecsit.nl at 10/16/2006 2:14:32 AM
Hello,
I created a TreeView in C#.NET.
The treeview has an imagelist with some images for the Nodes. The
ColorDepth of the ImageList is: Depth32Bit.
But sometimes when I click a node, the images got an blue background
and/or border color. How can I prevent this? And what is the problem
tha... more >>
Get the COLOR under the mouse anywhere
Posted by pamela fluente at 10/15/2006 12:07:07 PM
Hi guys. A hard problem ;)
I have a form. The form has: 1 Label, 1 Panel.
I wish that
1. while the mouse move anywhere on the screen, that the label
continuosly shows the RGB values of the color pointed by the mouse
2. when one clicks, the panel background color is set to the current
c... more >>
|