TDC provides a great variety of output functions for all different kinds of objects that a standard device context can handle, including:
- Icons
- Bitmaps
- Rectangles
- Text
- Regions
- Shapes
Nearly all these functions provide a number of versions: one version that provides functionality nearly identical to that of the corresponding API function (with the exception of omitting the HDC parameter) and alternate versions that use TPoint, TRect, TRegion, and other ObjectWindows data encapsulations to make the calls more concise and easier to understand.
- Current position
- TDC::MoveTo
- TDC::GetCurrentPosition
- Icons
- Rectangles
- TDC::InvertRect
- TDC::DrawFocusRect
- TDC::TextRect
- TDC::FillRect
- TDC::FrameRect
- Regions
- TDC::InvertRgn
- TDC::FillRgn
- TDC::PaintRgn
- TDC::FrameRgn
- Shapes
- TDC::Arc
- TDC::Chord
- TDC::Ellipse
- TDC::Pie
- TDC::LineTo
- TDC::Polygon
- TDC::Polyline
- TDC::PolyPolygon
- TDC::Rectangle
- TDC::RoundRect
- Bitmaps and blitting
- TDC::BitBlt
- TDC::ExtFloodFill
- TDC::FloodFill
- TDC::GetDIBits
- TDC::GetPixel
- TDC::PatBlt
- TDC::ScrollDC
- TDC::SetDIBits
- TDC::SetDIBitsToDevice
- TDC::SetPixel
- TDC::StretchBlt
- TDC::StretchDIBits
- Text
- TDC::DrawText
- TDC::ExtTextOut
- TDC::GrayString
- TDC::TabbedTextOut
- TDC::TextOut
The following functions are available for 32-bit applications only:
- Shapes
- TDC::AngleArc
- TDC::PolyBezier
- TDC::PolyBezierTo
- TDC::PolyDraw
- TDC::PolylineTo
- TDC::PolyPolyline
- Bitmaps and blitting
See Also