Enum IGDIPlus.TGPSmoothingMode
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 31: | Line 31: | ||
smoothing (antialiasing) that is applied to lines and curves. | smoothing (antialiasing) that is applied to lines and curves. | ||
This enumeration is used by the GetSmoothingMode and | This enumeration is used by the GetSmoothingMode and | ||
− | SetSmoothingMode methods of the TGPGraphics class. | + | SetSmoothingMode methods of the [[Class IGDIPlus.TGPGraphics|TGPGraphics]] class. |
Remarks | Remarks | ||
Smoothing performed by an 8 X 4 box filter gives better | Smoothing performed by an 8 X 4 box filter gives better |
Revision as of 17:18, 18 October 2012
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type TGPSmoothingMode = (SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8);
C++ Builder:
enum TGPSmoothingMode {SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8};
Visual C++ (MFC):
enum CTGPSmoothingMode {SmoothingModeInvalid, Ord, QualityModeInvalid, SmoothingModeDefault, Ord, QualityModeDefault, SmoothingModeHighSpeed, Ord, QualityModeLow, SmoothingModeHighQuality, Ord, QualityModeHigh, SmoothingModeNone, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x4, SmoothingModeAntiAlias, SmoothingModeAntiAlias8x8};
Summary
Specifies the type of smoothing (antialiasing) that is applied to lines and curves.
Description
The TGPSmoothingMode enumeration specifies the type of smoothing (antialiasing) that is applied to lines and curves. This enumeration is used by the GetSmoothingMode and SetSmoothingMode methods of the TGPGraphics class. Remarks Smoothing performed by an 8 X 4 box filter gives better results for nearly vertical lines than it does for nearly horizontal lines. Smoothing performed by an 8 X 8 box filter gives equally good results for nearly vertical and nearly horizontal lines. The 8x8 algorithm produces higher quality smoothing but is slower than the 8 X 4 algorithm.
Values
SmoothingModeInvalid | Reserved. |
Ord | |
QualityModeInvalid | |
SmoothingModeDefault | Specifies that smoothing is not applied. |
Ord | |
QualityModeDefault | |
SmoothingModeHighSpeed | Specifies that smoothing is not applied. |
Ord | |
QualityModeLow | |
SmoothingModeHighQuality | Specifies that smoothing is applied using an 8 X 4 box filter. |
Ord | |
QualityModeHigh | |
SmoothingModeNone | Specifies that smoothing is not applied. |
SmoothingModeAntiAlias | Specifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeAntiAlias8x4 | Specifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeAntiAlias | Specifies that smoothing is applied using an 8 X 4 box filter. |
SmoothingModeAntiAlias8x8 | Specifies that smoothing is applied using an 8 X 8 box filter. |