all groups > dotnet drawing api > march 2005 > threads for march 22 - 28, 2005
Filter by week: 1 2 3 4 5
printing win form controls at the printer
Posted by David Kowalsky via DotNetMonster.com at 3/28/2005 8:16:07 PM
hi all,
i need to print a picture box where i actually draw my own picture. That
would be a combination of a few strings and a few lines.
I can print the picture box at the printer, however, any graphics inside
the picture box would not show up. I kinda undrestand now why this is
happening ..... more >>
Graphics.FromHwnd(_pictureBox.Handle)
Posted by John Bailo at 3/26/2005 8:20:11 PM
I am walking through some of the very first sample code from the book
"Beginning .NET Game Programming" from Apress. I identify his sample
code with //SC
This code puzzles me:
Graphics graph = new Graphics //SC
// first of all there is no constructor for Graphics
// so in the Form_P... more >>
DrawImageUnscaled() or FillRectagle() + DrawRectangle() - Which is faster?
Posted by Phil Price at 3/26/2005 10:38:52 AM
Hi,
I'm currently developing a set of custom controls for a client.
Everything is themeable, yadda yadda. I have my own
"PictureLargePreview" control which accepts a bunch of Pictures (a
threaded extension on top of munch of bitmaps for preview etc). And will
display them in a list. With ... more >>
VB.NET for Pocket PC
Posted by abc xyz via DotNetMonster.com at 3/25/2005 9:41:58 AM
Does ne one know howto mark a point on an image placed in the picture
box.In VB6.0 Pset porperty does this.Ne alternative for this in VB.net?
--
Message posted via http://www.dotnetmonster.com... more >>
Whats the difference between DrawIcon and DrawImage
Posted by Rachel Suddeth at 3/24/2005 3:32:09 PM
I have some code that draws small images which really are icons onto menu
items. After doing this with DrawImage, I found the Graphics.DrawIcon
method. Is there an advantage to this DrawIcon that would make it worth
changing my code, since drawing icons is really what I'm doing?
-Rachel
... more >>
Spherical texture mapping
Posted by Peder Y at 3/23/2005 8:04:55 PM
Before I dive headfirst into this one, I'd like to hear some oppinions:
I have a list of images, displayed in a ListBox. The images are quite
small, say 100*100 px tops.
Now, I want to create a MouseOver effect where the image that is hovered
over is displayed as through a magnifying glass... more >>
Pen Alignment.
Posted by Shawn at 3/23/2005 3:25:09 PM
I am trying to create a bar code in a vb.net app, but the pen alignment
right does not have any effect. Any ideas?
... more >>
drawing a triangle on a toolbarbutton
Posted by lottoman at 3/23/2005 12:06:17 PM
I am trying to draw a triangle on a toolbarbutton to simulate a drop
down button without having the extra button beside my drop downbutton.
I was successfully able to draw the triangle by overrriding the onpaint
event for the form. that only problem is when I click on the button ( a
context menu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
"Colourizing"
Posted by Nick at 3/23/2005 10:37:13 AM
Hi there,
I'm using colour matrices to attempt to colourize a bitmap. I would
like to try to make any bitmap the same "hue" so to speak as the system's
button face colour. This way I can match the colour scheme automatically.
I was thinking that I might need to transform the imag... more >>
Grayscale
Posted by Todd Acheson at 3/23/2005 10:34:26 AM
Is there a technical definition for the term grayscale?
Would an indexed image (1,2,4,8 or 16bpp) be considered grayscale if all the
colors in the pallete are true shades of gray? Could a 24bpp image be
considered grayscale?
We're trying to print some TIFF images with a high speed printing ve... more >>
Merging two images
Posted by Dave at 3/23/2005 5:22:09 AM
Hi all,
I am having a little difficulty...
I am trying to merge two images togethor, but I am
getting "Invalid parameter used".
I have created a seperate class file, set up properties
and a method.
I am calling it from aspx, the calling works OK, but the
return just doesn't work.
... more >>
Colour difference between CreateGraphics() and OnPaint?
Posted by Peter Kenyon at 3/23/2005 12:00:00 AM
Hi,
I have a control which, among other things, draws a solid rectangle using
FillRectangle(). The brush used to fill is a SolidBrush created from
KnownColor.Control. When this code executes using a Graphics created by
CreateGraphics, the rectangle is exactly the same colour as the backgrou... more >>
How to get DPI of screen?
Posted by Lei Jiang at 3/22/2005 11:33:35 PM
It seems there is something like Screen.Dpi property? But I could not found
one. Is there an easy way to get the DPI?
Thanks!
... more >>
A printer's paper-size in pixels?
Posted by Olaf Rabbachin at 3/22/2005 6:21:19 PM
Hi folks,
when printing images, I'd like to extract a user-selection and paint
several copies (i.e. passport-photos) onto a single page.
Thus I'm creating a new bitmap and paint the "view port" on it as many
times as appropriate.
But - in order to center and scale the "items" accordingly I'd ... more >>
Resize TIFF image
Posted by Anthony at 3/22/2005 9:00:29 AM
I am attempting to write a program that will take many 1BPP Group 4 CCITT
images and downres them from 36"x24" at 400 DPI to 36"x24" at 200DPI. I got
as far as to create the new bitmap object and then when I tried to convert
it into a graphics object (graphics.fromimage()), I got an error "A Grap... more >>
|