CodeGuru
Earthweb Search
Login Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

Become a Marketplace Partner

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> Graphics & Multimedia >> GDI


GDI

Capturing Images



[Updated] Capturing Windows Regardless of Their Z-Order
Rating:
Shahar Golan - 02/13/2007
Capture a top window's content to a BMP file, regardless of the window's z-order.

Trick: How to Capture Video Screen Shots
Rating:
Heng Wah Chiew - 03/01/2004
An article describing a trick to capture video screen shots.

Barry's Screen Capture
Rating: none
Barretto VN - 02/04/2003
Capture different portions of the screen and the save them to a file. (The source code was updated.)


Fills



Creating Pattern Brushes
Rating: none
Mahipal Reddy Goli - 07/30/2003
Use the details of using PatternBrushes to fill the interiors of rectangles, ellipses, polygons, and paths.


Font Handling and Detection



Tip: Detect if a Language Font is Installed (Such as East Asian)
Rating:
Wong Shao Voon - 10/12/2009
Check if any language (such as East Asian) is Installed on a user's computer.

[Updated] Outline Text, Part 1
Rating:
Wong Shao Voon - 10/08/2009
How to draw outlined text with GDI/GDI+.

Outline Text, Part 2
Rating:
Wong Shao Voon - 09/25/2009
Display outline text with a translucent shadow and display a cached outline text for video rendering.

Retrieving the Font Name from a TTF File
Rating: none
Philip Patrick - 05/28/2002
You can always get the font name of one of your installed fonts. But what if the font is still not installed in the system and you want to know its name programmatically?

Fonts Hot ComboBox
Rating: none
Alan Kelly - 01/19/2001
"Hot ComboBox" that dynamically loads and displays all fonts in the system (with each font name displayed in its own font)

Detecting the Display Font Size
Rating: none
chensu - 07/23/2000
Simple function to enable you to programmatically detect the user-selected font at runtime

Font Selector Combobox
Rating: none
Igo - 05/11/2000
Nifty little combobox control that lists all fonts on system and allows you to view each one's impact on test string

Automatic Font Handling Class
Rating: none
Jamie Nordmeyer - 05/01/2000
Wrapper class that greatly eases task of using fonts from within an application

Easy Way to Set the LOGFONT Structure
Rating: none
Mihai Filimon - 02/08/2000
Easy Way to Set the LOGFONT Structure


GDI



Rotate a Bitmap at Any Angle Without GetPixel/SetPixel
Rating:
Yves Maurer - 11/19/2002
Rotate a bitmap at any angle with the Windows GDI functions.

Using Placeable Metafiles: Save and Convert to HBITMAP and Raster Formats
Rating:
Alexander Fedorenko - 11/06/2002
How to save a placeable metafile, and how to convert it to a bitmap. Check out this short tutorial on preparing a custom drawing export.

Creating a Transparent Hole Region in Different Shapes on Any Window
Rating: none
Jens Rahm - 11/01/2002
[Update] Create a transparent hole region that can be a different shape on any window. A new downloadable file has been added.

Dashed and dotted lines with a pen width greater than 1 logical unit
Rating: none
Lanz Jean-Claude - 10/01/2002
Dashed and dotted lines with a pen width greater than 1 logical unit

A BitBlt-Like Function With Rotation Angle: ROTBlt
Rating: none
sgopinath - 06/25/2002
A BitBlt-like function that allows you to select the angle size to rotate the image.

Draw the US flag using GDI
Rating: none
Oren Leavitt - 10/10/2001
Just for fun, or perhaps even useful, here is a function to draw the US flag to a given HDC, in a given RECT.

Draw a curve with control points
Rating:
Tao Chen - 10/09/2001
How to draw a curve with a couple of mouse clicks. Source Code Updated.

Drawing an ArrowLine
Rating: none
Mayank Malik - 09/28/2001
Support for drawing an arrow line / measuring line.

Drawing any N-sided Polygon
Rating: none
Mayank Malik - 08/13/2001
Drawing N-sided polygons with roughly 20 lines of code!

Crosshairs and Supporting Text That Moves
Rating:
Friedrich Brunzema - 06/04/2001
This article shows how to draw crosshairs, but more importantly how to draw text and other GDI objects that need to be moved (and redrawn) interactively by the user.

Using LineDDA to produce complex line styles
Rating: none
Tim Wilson - 08/15/1999
Using LineDDA to produce complex line styles

Rotate your graphics - advanced memory device context
Rating: none
Hans B|hler - 04/20/1999
Rotate your graphics - advanced memory device context

ROP Codes, Rubber Bands, Clip Regions '& Coordinate Transforms
Rating: none
Paul Shaffer - 04/13/1999
ROP Codes, Rubber Bands, Clip Regions '& Coordinate Transforms

CColor - RGB and HLS combined in one class
Rating: none
Christian Rodemeyer - 02/23/1999
CColor - RGB and HLS combined in one class

Drawing Rotated and Skewed Ellipses
Rating:
Llew Goodstadt - 12/06/1998
Drawing Rotated and Skewed Ellipses

CGDI - Simple GDI Set And Reset
Rating:
Michael S. Scherotter - 12/06/1998
CGDI - Simple GDI Set And Reset

Drawing dotted lines
Rating: none
Jean-Edouard Lachand-Robert - 12/06/1998
Drawing dotted lines

CMetaFile class
Rating: none
Robert Caldecott - 12/06/1998
CMetaFile class

Drawing Dashed Lines and Curves
Rating:
Llew Goodstadt - 12/06/1998
Drawing Dashed Lines and Curves


GDI+



[Updated] How to Use a Font Without Installing It
Rating:
Wong Shao Voon - 10/08/2009
How to use a font without installing it first on user systems.

Progress Sphere
Rating:
Robert Tari - 06/23/2006
Learn about a class that displays and automates a translucent, shadowed modal dialog with a progress sphere.

File Open and Save As Dialogs for MFC Applications Using GDI+
Rating:
Ovidiu Cucu - 03/07/2006
Learn about CFileDialog-derived classes that offer an easy way to implement File Open and Save As dialogs in MFC applications that use GDI+.

Mould Text in Any Shape
Rating:
Sjaak Priester - 02/07/2006
Sometimes, putting text in a rectangular block may just be a little too straight. With the C++ class QEnvelopeText, you can mould a piece of body type in any shape.

Let Your Characters Dance and Wiggle
Rating:
Sjaak Priester - 10/24/2005
This versatile class arranges the characters of a text string along any curve.

Make GDI+ Less Finicky About Fonts
Rating:
Sjaak Priester - 09/23/2005
Windows GDI+ understands only half of the fonts out there. Use the QGraphicsText class to work with the other half.

Drawing Curved Objects
Rating:
Sjaak Priester - 09/08/2005
Add support for interactive curve drawing to your MFC app by dropping in theQBezierTracker class.

[Updated] Scaling, Rotating, and Shearing with QTransformTracker
Rating:
Sjaak Priester - 09/02/2005
This CRectTracker on steroids not only lets you move and scale screen objects, but also rotate and shear them.

[Updated] "Rubber Sheeting" with QWarpTracker
Rating:
Sjaak Priester - 09/01/2005
Warping is the most drastic way to change the form of a GDI+ graphics object. The class QWarpTracker lets you do it interactively.

Managed C++: Use GDI+ to Render Reflected Text
Rating:
Tom Archer - MSFT - 11/22/2004
Tom Archer illustrates how you can use the TranslateTransform and ScaleTransform methods to invert and display the reflection of a string.

Managed Extensions: Using GDI+ to Render Sheared Text
Rating:
Tom Archer - MSFT - 11/15/2004
Tom Archer illustrates how the Matrix object and transforms enable you to draw horizontally or vertically sheared text.

Managed Extensions: Using GDI+ to Draw 3D Text
Rating:
Tom Archer - MSFT - 10/25/2004
Learn how to use GDI+ to render several 3D text effects, such as shadowed, blocked, embossed, and engraved text.

Managed Extensions: Using GDI+ Brushes to Draw Text
Rating:
Tom Archer - MSFT - 10/19/2004
Tom Archer illustrates how the combination of Managed Extensions and GDI+ enable you to draw gradient and hatched text with only a few lines of C++ code.

Better GIFs with Octrees
Rating:
Sjaak Priester - 02/06/2004
Use adaptive color quantization to create better GIF files with GDI+.

A Sharp View with QGaussFilter
Rating:
Sjaak Priester - 02/04/2004
Despite its somewhat confusing name, Unsharp Mask is an important procedure to enhance the quality of bitmap pictures. The QGaussFilter class performs Unsharp Mask, and more. (The project code was updated.)

Image Properties Revealed
Rating:
Sjaak Priester - 11/04/2003
Learn everything you always wanted to know about your bitmap pictures, and more, with QImageProperties.

Weird Warps
Rating:
Sjaak Priester - 09/02/2003
GDI+ lets you "warp" graphics objects. At least, that's the story. In reality, the method is buggy to an unacceptable degree.

Playing with ColorMatrix
Rating:
Sjaak Priester - 08/12/2003
You can do great things with ColorMatrix in GDI+. Use the QColorMatrix class to open up the possibilities. You'll be able to affect gamma, saturation, contrast, brightness, hue, and more. (The demo project and source code were updated.)

Image Processing using GDI+ and VC++ 6.0
Rating:
Deepak Gupta - 02/07/2003
GDI+ can be used for image processing. Learn a simpler way to use the methods that directly address pixels to allows image processing capabilities.

Manipulating Draw Mode Settings and Using GDI+ to Save
Rating: none
Chat Pokpirom - 09/03/2002
A simple demonstration of draw mode settings as well as a demonstration using GDI+ to save to a file.

JTDraw Update
Rating: none
Tao Zhu - 06/03/2002
A simple drawing program with GDI+ support.

The GDI+
Rating:
Leandro Gustavo Biss Becker - 09/20/2001
The Microsoft GDI+ can do many cool things for you. One of these things is the ability to load or save images of a number of different types.


Icons and Cursors



How to Construct a Reusable Silverlight ASP.NET User Control
Rating: none
Chad Campbell - 05/01/2007
Silverlight provides new opportunities for building lasting connections with users. In this article, you will learn how to use this new tool to create a simple logo control.

Using Windows Vista Icons
Rating:
vlasta - 05/18/2006
Learn about the changes in the .ico format in Windows Vista and how to compile Vista icons into your applications.

Icon2002/2003
Rating:
Stefaan Casier - 03/26/2003
How to create MS Windows icons and cursors. More specifically, you'll learn how to extract them from EXEs and from resources, and then how to make icon groups. A simple Icon/Cursor Editor is included. (The demo project and source code were updated.)


Lines



Drawing Lines Using Line Equations
Rating:
Mahipal Reddy Goli - 09/08/2003
Learn how to draw lines in XY axes as well as how to find the slope of the line based on the line equation.







internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs