gdi
Drawing digits/graphics directly to the screen?
I\'m putting together a small program in Visual Basic Express 2010, and part of it is to take a delayed screen shot.[详细]
2023-04-13 09:43 分类:问答How to convert rtf-formatted text to image?
I have a Windows application (C#) for editing images, and among other features I ca开发者_Python百科n paste from clipboard images or text. When the clipboard contains text, it converts it to a picture[详细]
2023-04-13 07:35 分类:问答CreateDC() fails with lasterror 2
I have implemented a class that gets local printers and, depending on the application option,uses one of the local printer available.[详细]
2023-04-13 05:13 分类:问答Programmatically catching windows close event when out of GDI resources
I\'m trying to catch all unexpected terminations in my process. I\'ve used these functions to catch all the unhandled errors and exceptions that i can think of, but still it\'s not enough:[详细]
2023-04-11 22:56 分类:问答How to avoid excessive screen flickering with GDI
I\'m sort of new to rendering graphics with GDI... I made a paint program, and it works fine, it\'s just that it causes a lot of annoying screen flickering. I will admit my paint code is not really o[详细]
2023-04-10 10:55 分类:问答Weird unresolved external errors
I\'m getting some Unresolved External Errors I can\'t seem to find a solution for: 1>MyApp.obj : error LNK2019: unresolved external symbol \"public: void __thiscall Path::AddPoint(struct Point2D c[详细]
2023-04-10 04:50 分类:问答How to get the array of RGB values for each pixel of the client area of a window
Is there a way to receive the c开发者_如何学Colour values for each pixel in the client area of a window, with gdi?As noted in comment by @JerryCoffin. Here\'s a simple example[详细]
2023-04-10 00:11 分类:问答Freehand Drawing on Entire Screen
I\'m trying to make a simple little tool that would allow a user to switch from normal operation to a mode where all application messages are disabled and they can use the mouse to do some freehand dr[详细]
2023-04-09 18:12 分类:问答BitBlt from a color hDC to a monochrome hDC?
I am doing BitBlt from one 8 bit color DC to a monochrome DC. The problem is only pixel with values 255 are converte开发者_JS百科d to white in the monochrome DC. How do I specify threshold value, so t[详细]
2023-04-09 13:00 分类:问答How to create memory DC with 24 bits per pixel?
I need it to work with RGB24 data using GDI functions (specifically StretchBlt() which is pretty fast) and I can\'t use CreateCompatibleDC() since it can create memory DC only with color depth of othe[详细]
2023-04-09 06:39 分类:问答