gdi+
Find the postscript names of all the installed fonts
I need to enumerate the postsript names of all the installed fonts. for example: foreach (FontFamily item in FontFamily.Families)[详细]
2023-02-22 13:30 分类:问答Parameter is not valid when saving TIFF to stream
I have a multi-page TIFF that I\'m splitting up page by page using Leadtools, and changing the compression on them to be compatible with a third party. When I try to save the image to a memoryStream,[详细]
2023-02-22 08:19 分类:问答How to Fill Path with a Brush from an Image
I have a question about MFC. We have an API: Graphics::Fillpath(IN const Brush * brush, IN const GraphicsPath *path)[详细]
2023-02-22 04:23 分类:问答Detect PrintScreen / Screen scraping From Remote?
I\'ve been trying to figure out how to detect this for months without any real progress. Whatever road I\'ll try out testing C++/C# code, all turns out to be dead ends.[详细]
2023-02-21 22:59 分类:问答Randomly occurring AccessViolationException in GDI+
We\'ve got the problem that sometimes an AccessViolationException occurs and a simple group box gets drawn with white background and a red cross on top of it. We can\'t reproducable this bug reliably,[详细]
2023-02-21 21:49 分类:问答Trouble using Gdiplus::Graphics::DrawText to draw white text on a black background
I\'m trying to find a way to use the Gdiplus::Graphics.DrawString method to create a bitmap having white text on a black background.[详细]
2023-02-21 19:16 分类:问答GDI+ draw when loading data like a map
I have an application that finds the shortest path between 2 squares, and when the path is longer or more complicate it can take 1-2 seconds to find it and I want to write on the screen a loading mess[详细]
2023-02-20 10:13 分类:问答What is the safest way to clear a container's Controls property and make sure the controls are properly disposed?
In a WinForms application I have a number of instances where I add a control to a container in response to a user action (panel.Controls.Add(new CustomControl(...))), then later clear the panel (panel[详细]
2023-02-20 06:06 分类:问答Draw expand/collapse buttons (+/-) when Aero is off
With visual styles, i can use VisualStyleElement.TreeView.Glyph.Closed and VisualStyleRenderer to draw [+] button like in TreeView.[详细]
2023-02-19 00:07 分类:问答CreateGraphics() Method and Paint Event Args
I have read somewhere that CreateGraphics() will do this steps for us : BeginPaint Drawing EndPaint I have my code like this:[详细]
2023-02-18 19:00 分类:问答