all groups > dotnet drawing api > september 2005 > threads for september 8 - 14, 2005
Filter by week: 1 2 3 4 5
What's the secret to creating radial gradient?
Posted by Chris Hayes at 9/13/2005 10:00:14 AM
Greetings,
I am delving into the Drawing parts of .NET (out of necessity) and while I
am making great strides in understanding how to use it, I have been stymied
by creating the proper gradient in a circle...
I need the gradient to start in the center of the circle and move outwards
as a... more >>
Drawing a bmp using a MICR font
Posted by mgonzales3 at 9/13/2005 7:05:04 AM
I'm drawing an image using a MICR font and it draws fine w/no problem.
However I get all this noise in my bmp. I used some suggestions found at the
bobpowell.com (esp. onebit) but it basically strips out my bmp to look like a
font on the skinny.
Here is my code.
-------------------------... more >>
Custom caption button and NativeWindow
Posted by MariusI at 9/10/2005 9:41:03 AM
Hi, i've created a usercontrol with a non-rectangular nc-area and a close
button. Everything is up and running nicely, but i'm not happy with the class
layout, mainly because all state management is done in the usercontrol class.
Ideally, i want to refactor so that i have one class which corre... more >>
VB.NET + OpenGL ?
Posted by PetitTrot at 9/10/2005 5:15:10 AM
I search examples mixing VB.NET and OpenGL?
(web site, books etc.)
Thanks
p.s. actually I use VB.NET 2005 Beta 2... more >>
Inverse Sine Calculation
Posted by Dan at 9/9/2005 4:48:02 PM
*
32 * * .5
* X *
***********
I have a triangle with a Hypotenuse of 32 and height of .5. I am trying to
determine what angle X is. On a calculator I take .5/32 = .015625
The inverse sine on a calculator gives the angle of X at .895282987.
H... more >>
Select Printer Tray
Posted by Frank at 9/9/2005 8:06:11 AM
Using VB.Net
I have a series of two page documents that run cover page, invoice, cover
page, invoice, cover page, invoice, etc...
I need to print the cover pages from tray 2 and the invoices from tray 3.
I am using the PrintDocument object and have set what
DefaultPageSettings.PaperSou... more >>
AnimateWindow and custom controls
Posted by MariusI at 9/9/2005 1:48:29 AM
Does anyone know if AnimateWindow (user32.dll) can be used in conjunction
with custom controls for example, to fade controls in and out when their
visibility is changed? I've tried to call AnimateWindow in Control_Load,
OnVisibleChanged and also when the WM_SHOWWINDOW message is sent, but noth... more >>
ScriptTextOut & printing (&preview)
Posted by Lloyd Dupont at 9/9/2005 12:00:00 AM
I have a C# application with RichText formatting.
Because it's a graphical application I have to do the text rendering myself
on our main canvas.
I used Uniscribe to do all the formatting (I wrote a ManagedC++ component
taking care of that).
Uniscribe glyphs are painted with ScriptTextOut (... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Printing Weird fonts
Posted by DotNetBBK at 9/8/2005 5:51:01 PM
Hi,
I am printing an image, which has Bitmap, Rectangle and Texts (using
Arial font, size 12, bold). When I see the image in print preview, it
looks fine. But, when I print it, it prints weird characters .Some
of the characters are $ P SV$ %. What am I missing ?
I changed the font to Time... more >>
UserControl WM_PRINTCLIENT problem
Posted by MariusI at 9/8/2005 6:30:05 AM
I'm trying to use WM_PRINTCLIENT to paint the client area of a usercontrol to
a bitmap. However, the controls encapsulated by the usercontrol are not
painted, only the client background which the contained controls are painted
on. I've tried using PRF_CHILDREN, PRF_CLIENT and also PRF_OWNED bu... more >>
custom Usercontrol flicker on resize
Posted by MariusI at 9/8/2005 4:54:03 AM
Hi, i've created a user control which can be resized at runtime. When the
control is resized, it flickers. I use the following controlstyles:
this.SetStyle(ControlStyles.UserPaint |
ControlStyles.Opaque | ControlStyles.AllPaintingInWmPaint,
true);
I've also tr... more >>
font serialization
Posted by SharpCoderMP at 9/8/2005 12:00:00 AM
hi,
i posted this erlier to the other group but got no response :(
so i'm trying now this one...
according to the documentation System.Drawing.Font is serializable, well
at least it should be because it implements ISerializable. but when i
try to serialize it with XmlSerializer i get except... more >>
|