-
GDI의 기능을 개선한 클래스 라이브러리 // C++
윈도우즈 XP, 비스타
비주얼 스튜디오 2005
gdiplus.dll
GdiplusStartup()
GdiplusShutdown()
Color
GraphicsPath -> GdiplusBase
.AddEllipse()
.AddPolygon()
FontFamily -> GdiplusBase
Pen -> GdiplusBase
.SetAlignment()
PenAlignmentCenter|PenAlignmentInset
.SetStartCap()
LineCapSquare|LineCapRound|LineCapTriangle|LineCapNoAnchor|LineCapSquareAnchor|
LineCapRoundAnchor|LineCapDiamondAnchor|LineCapArrowAnchor
.SetEndCap()
.SetLineJoin()
LineJoinBevel|LineJoinMiter|LineJoinRound
.SetDashStyle()
DashStyleSolid|DashStyleDash|DashStyleDot|DashStyleDashDot|DashStyleDashDotDot.SetDashOffset()
.SetDashPattern()
SolidBrush -> Brush
.SetColor()
LinearGradientBrush -> Brush
PathGradientBrush -> Brush
.SetCenterColor()
.SetSurroundColors()
HatchBrush -> Brush
Image-> GdiplusBase
.GetWidth()
.GetHeight()
Font -> GdiplusBase
FontStyleBold
StringFormat -> GdiplusBase
.SetAlignment()
StringAlignmentCenter.SetLineAlignment()
Region -> GdiplusBase
Graphics
.DrawLine()
.DrawRectangle()
.FillRectangle()
.DrawEllipse()
.FillEllipse()
.DrawPie()
.FillPie()
.DrawArc()
.DrawPolygon()
.DrawClosedCurve()
.FillClosedCurve()
.DrawCurve()
.DrawPath()
.SetInterpolationMode()
InterpolationModeNearestNeighbor|InterpolationModeHighQualityBilinear
.DrawImage()
.SetTextRenderingHint()
TextRenderingHintClearTypeGridFit
.DrawString()
.SetClip()
.ResetTransform()
.TranslateTransform()
.RotateTransform()
.SetPageUnit()
UnitPixel|UnitMillimeter
참조 사이트: