| Thread | Last Post | Replies |
|
| Drawing in a user control | 31 May 2006 05:41 GMT | 7 |
I am creating a user control with several methods, each method should draw something in my user control; from a winform, I should use: myControl.ShowBands or myControl.ShowLabels, etc.; but I don't know how to do that, because all the logic to draw should be in the Paint event,
|
| Bitmap analysis | 30 May 2006 21:23 GMT | 3 |
We are working on a large project. Main functionality is accessing database with ado.net. A small corner of the project contains some graphics (Bitmaps) analysis. We all know a lot about ADO.Net but not so much about graphics. So I hope this newsgroups can point us to the right way. ...
|
| .NET Bitmap's Graphics.DrawString() // HDC ExtTExtout issues | 29 May 2006 15:49 GMT | 2 |
In my .NET application I have some text rendered through GDI. It draws and print nicely. Now I would like to implement image export. So I create a
|
| A lost article | 29 May 2006 05:00 GMT | 4 |
I have read a good article on GDI/GDI+ by Lars Powers. ( http://www.code-magazine.com/Article.aspx?quickid=0305061 ) Unfortunately the sources are missing on the indicated web site. I would like to know if some of you have them or something similar in C#.
|
| Clear an Image | 27 May 2006 22:23 GMT | 2 |
How do you clear an image in a Picturebox control? Do you simply set it to nullptr? ie: pictureBox1->Image = nullptr; Do you have to rely on the garbage collector or can you deterministicly
|
| How to setup text drawing hit for ExtTextOut ? | 27 May 2006 14:02 GMT | 2 |
In my .NET app I have to use some home-made, Uniscribe based, text drawing with ScriptTextOut which, ultimately, calls ExtTextOut.. I would like to setup things like text quality, anti aliasing, etc.... What API should I look into?
|
| How to know if I'm printing from a PaintEventArg? | 26 May 2006 17:41 GMT | 5 |
In my (C#) code I have some painting methods using Interop and GDI (win32). Unfortunately, as you might know, you have to apply some transformation to your space and fonts if you want to achieve WYSIWIG result with GDI (as summarized here:
|
| Using GDI+ to manipulate and save tiff image | 26 May 2006 13:35 GMT | 3 |
I am using GDI+ to load a tiff image and write a string to it and save the tiff image to another file. I can save the image with only LZW Compression and not abel to save with CCITT4 compression. If I use CCITT4 compression I get an invalid paramter
|
| Wrong palette of BMP Image (if gray ok) | 25 May 2006 18:42 GMT | 3 |
i sent image byte via bt from j2me phone to c# application, after i have to create image using this code: ... byte[] pixels
|
| Primitive Class, Transform and hit test | 25 May 2006 11:41 GMT | 4 |
I am using Bob's primitive class to render objects on the screen, and perform hit tests to see if the mouse moves over any object (code below). Public Overridable Function HitTest(ByVal p As Point) As Boolean Return (New Rectangle(Me.m_Location, Me.m_Size)).Contains(p)
|
| Color --> Grayscale | 25 May 2006 09:45 GMT | 1 |
How do you convert a 24-bit color image into a 256-shades-of-gray image? Thanks, Shawn
|
| Picture Box Issue | 24 May 2006 17:59 GMT | 2 |
***Please let me know if this is the correct forum for this question. I am having problems with a picture box as follows: I have an asynchronous WinForm application that communicates with an ASCII based text radio and saves data to a database. The 'guts' of the
|
| AccessViolationException | 24 May 2006 15:41 GMT | 6 |
I sometimes got some AccessViolationException from System.Drawing.dll. It doesn't happen everytime but it happens like once a day. Is it a known issue in .NET 2.0? I've never got this kind of exception in .NET 1.1 (even NullReferenceException) System.AccessViolationException: ...
|
| Font toLogFont and back is not same Font | 24 May 2006 11:26 GMT | 1 |
With this code: Font f = new Font("Microsoft Sans Serif",20 ); LOGFONT lf = new LOGFONT(); f.ToLogFont(lf);
|
| Drawing Image Question and Problem | 24 May 2006 11:26 GMT | 1 |
I am using .NET 2.0 and building a custom control. There are multiple graphics elements that I would like to render on the surface. When drawn together they form the complete control image but need to be managed separately because they might have different scale, units, move ...
|