gdi+
Custom control for displaying images
I have my own classes that represent image data. They have various underlying structure but all have indexed property which returns an i,j-th image element. I need to display such images in a form. Ri[详细]
2023-04-13 08:41 分类:问答GDI+ Nested Graphics objects
With System.Drawing.Graphics, how can I have \"nested graphics objects\". The main purpose is to have several clipped regions.[详细]
2023-04-12 15:09 分类:问答GDI+ Line Drawing Algorithm
I cannot understand the way GDI+ is drawing line on a surface, may be it has some algorithm to do it.[详细]
2023-04-12 08:19 分类:问答Optimize the performance of a GDI+ function
When profiling my GDI+ project I discovered that the following IsLineVisible function is one of the \"hottest\" while the drawing and moving objec开发者_Go百科ts on my custom panel.[详细]
2023-04-12 01:39 分类:问答Write multiple line string with GDI+
I have a small display on my keyboard, it\'s 320x240, I\'m creating a plugin that allows me to see skype messages on this display even when I\'m playing full screen games.[详细]
2023-04-11 19:56 分类:问答A generic error occurred in GDI+ exception when trying to save image into MemoryStream
I am using C# windows form. My code : private void Openbutton_Click(object sender, EventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog();[详细]
2023-04-11 19:40 分类:问答Transformation matrix for viewing a 2D drawing
I am refactoring a graphic program that shows a drawing. The program uses its own transformation and the code is quite complicated. I\'d like to refact the code with a transformation matrix instead.[详细]
2023-04-11 12:12 分类:问答Properly draw text on a control contrasted to it's background
http://fc04.deviantart.net/fs71/f/2011/277/7/6/problem_by_tekuconcept-d4btjlx.png As shown in the image above, I want to be able to draw a contrast in the string.[详细]
2023-04-10 10:30 分类:问答Converting Bitmap to a vector of unsigned char
As 开发者_运维技巧the title says, I\'m trying to find a method of converting a GDI+ Bitmap to a vector of unsigned chars, any help would be greatly appreciated.Have a look at Bitmap::LockBits. Once yo[详细]
2023-04-09 22:59 分类:问答Pixel color calculation 255 to 0
I have been using the algorithm from Microsoft here: INT iWidth = bitmap.GetWidth(); INT iHeight = bitmap.GetHeight();[详细]
2023-04-09 22:00 分类:问答