all groups > dotnet drawing api > january 2005 > threads for january 8 - 14, 2005
Filter by week: 1 2 3 4 5
Drawing a line with mouse drag?
Posted by John Parrish at 1/14/2005 11:05:41 AM
Can anyone point me to an example of drawing a line in real time as a
user drags the mouse. I have tried several ways to get around the
flickering caused by invalidate when the line is drug across other
elements, to no avail.
I have the book on GDI+ with .NET but it does not show an example... more >>
How to draw fast a random shaped controls ?
Posted by Bachus at 1/13/2005 8:50:58 PM
Hi,
I have a form on which I want to place elliptic shaped controls. Next I want
to move these controls. Everything works fine when there is less than ten
controls but when I have a lot of them (about 100) my controls are redrawing
very slow. But if i use normal shaped control it works fine.
I ... more >>
body chart as image file and need drawing on the image & printout
Posted by Elene at 1/13/2005 8:39:01 PM
Hi,
There is an request from my customer to incorporate body chart/diagram in
..net platform so that drawing of different points/icons/symbols can be done
on the image to denote something done to the image.
After that, all these drawings on the image must be able to printout in
report. ... more >>
Bob Powell's "How to use the CreateGraphics method"
Posted by joeycalisay at 1/13/2005 5:28:34 PM
Mr. Powell suggests to use CreateGraphics outside Paint eventhandler,
OnPaint, OnPaintBackGround in order to obtain the graphics object. At
WndProc method, one can grab a graphics object from the handle of the
control's window (GetWindowDC). When I am handling the WM_NCPAINT message,
what will... more >>
Problems with GDI+
Posted by John Parrish at 1/13/2005 9:59:56 AM
I’ve been doing some work with the GDI+ aspects of the .NET framework to
further my ability to write custom controls. I have noticed some things
that are frustrating to me, and I am wondering if maybe someone would be
kind enough to explain, or point me in the right direction.
First things ... more >>
Prb: Saving graphics to a file
Posted by Amit Gandhi via DotNetMonster.com at 1/13/2005 6:10:31 AM
1) How to save the image in the picture box as a file, in the same format and display as is appearing in the picture box after stretching or centering the image? i.e. the picture box display should be stored as an image file, not the image in its actual format.
2) The graphics generated on the pi... more >>
ComboBox not showing items in dropdown
Posted by John M at 1/12/2005 12:47:06 PM
Has anyone experienced a problem where the items in the dropdown area of a
combobox do not appear? I can press the down arrow on the keyboard when the
control has focus and the proper text will display. I can even open the
dropdown, select any item (that is not drawn) and the proper text is ... more >>
scrolling map
Posted by marko v via DotNetMonster.com at 1/11/2005 9:39:41 PM
Hi everyone,
I have a doubt about one thing and it will be very helpfull if someone knows the answet and some gudilines to the solution.
I'm developing application for the Pocket Pc. Application need to deal with GPS. On the device, on smart card will be map, about 80MB big.
I can use the who... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Partial painting of a control
Posted by Phil Jones at 1/11/2005 3:48:36 PM
I'm a little confused over re-drawing part of a control.
From reading the ref docs, it appears that the Invalidate([rect]), that
takes a rectangle or region as a parameter should do this. However what I'm
finding is that when this method is called with a Rectangle that represents
a part of... more >>
large bitmaps for printing (GDI+)
Posted by semhelp at 1/11/2005 7:57:06 AM
I need to draw a bitmap from CAD data and then print it in color (at least 16
bits) at 600DPI to a large page. The resulting bitmap can be as large as
20000 x 20000 pixels. What is the best way to work with these large images?
Is there some way to work with them in a compressed format? If ... more >>
How to get PrintPreviewControl Zoom property after resizing?
Posted by John M at 1/11/2005 3:37:01 AM
I've placed a PrintPreviewControl in a MDI child form. It has a Dock
property of fill and an AutoZoom property of True so that whenever the form's
size changed the control will change as well. On a status bar I've added an
area that shows the Zoom property. Unfortunately I can't get the cor... more >>
.NET GDI+ Training Needed
Posted by Robbe Morris at 1/10/2005 8:14:47 PM
Can anyone recommend a trainer/training course that deals solely with
GDI+ and goes far and above the typical "here is how you draw a circle"
scenarios?
We are started to get rather complex imaging requirements and my GDI+
knowledge is at a very basic level. I need access to an expert trainer... more >>
Graphics.GetHdc/Graphics.FromImage/R2_MASKPEN Woos
Posted by gdi_plus NO[at]SPAM yahoo.com at 1/10/2005 3:11:00 PM
Hello all,
I'm trying to draw a rectangle with ROP2 = R2_MASKPEN on a GDI+ image.
The method below (TestDraw) works when I pass it a Graphics object from
a paint event. However, when I pass in the result from
Graphics.FromImage, it seems the ROP2 is ignored and I end up with a
solid black re... more >>
GUI for tabletop interaction. Is it possible?
Posted by Daniel Tomasini (ITC - Italy) at 1/10/2005 8:21:03 AM
I’ve implemented a GUI for a tabletop device using C# and the .NET framework
1.1. At the moment, my interface consists of a collection of virtual sheets
of paper in which you can draw. Those documents can be rotated and moved. For
the first prototype, I implemented all the graphics by myself... more >>
Office2003 Colors
Posted by Johannes Hofmann at 1/8/2005 2:24:45 PM
Hi,
where can I find the colors, that (3rd party) controls use, when they are in
Office2003 design-mode.
Somehow these colors depend on the XP-style and must be available in the
system.
Where can I find those colors? Anybody knows?
... more >>
Modify jpg but leave quality the same
Posted by shelby_marsden NO[at]SPAM hotmail.com at 1/8/2005 10:31:46 AM
Is it possible to write a program that will modify a jpg, say adding
some lines or text to it, and then save it leaving quality and
compression the same? Ideally in such a way that you could run the
program multiple times with no degradation in quality? I know that
there are some transforms (lik... more >>
Displaying GrayScale Images
Posted by Rick at 1/8/2005 6:01:02 AM
I am converting an Win32 medical image processing application to .Net. I am
new the UI side of .Net applications and I am trying to display a grayscale
images at a reasonable frame rate (5-10 frames per second). The application
captures 1024x768 12-bit grayscale pixels, which I am storing in ... more >>
|