Enum IGDIPlus.TGPLineCap

From Mitov Wiki Doc
Jump to: navigation, search

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 TGPLineCap = (LineCapFlat, LineCapSquare, LineCapRound, LineCapTriangle, LineCapNoAnchor, LineCapSquareAnchor, LineCapRoundAnchor, LineCapDiamondAnchor, LineCapArrowAnchor, LineCapCustom, LineCapAnchorMask);

C++ Builder:

enum TGPLineCap {LineCapFlat, LineCapSquare, LineCapRound, LineCapTriangle, LineCapNoAnchor, LineCapSquareAnchor, LineCapRoundAnchor, LineCapDiamondAnchor, LineCapArrowAnchor, LineCapCustom, LineCapAnchorMask};

Visual C++ (MFC):

enum CTGPLineCap {LineCapFlat, LineCapSquare, LineCapRound, LineCapTriangle, LineCapNoAnchor, LineCapSquareAnchor, LineCapRoundAnchor, LineCapDiamondAnchor, LineCapArrowAnchor, LineCapCustom, LineCapAnchorMask};

Summary

Specifies the type of graphic shape to use on the end of a line drawn with a Microsoft Windows GDI+ pen.

Description

This enumeration that specifies the type of graphic shape to use on the end of a line drawn with a Microsoft Windows GDI+ pen. The cap can be a square, circle, triangle, arrowhead, custom, or masked (hidden). End caps can also "anchor" the line by centering the cap at the end of the line.

Values

LineCapFlat Specifies that the line ends at the last point. The end is squared off.
LineCapSquare Specifies a square cap. The center of the square is the last point in the line. The height and width of the square are the line width.
LineCapRound Specifies a circular cap. The center of the circle is the last point in the line. The diameter of the circle is the line width.
LineCapTriangle Specifies a triangular cap. The base of the triangle is the last point in the line. The base of the triangle is the line width.
LineCapNoAnchor Specifies that the line ends are not anchored.
LineCapSquareAnchor Specifies that the line ends are anchored with a square. The center of the square is the last point in the line. The height and width of the square are the line width.
LineCapRoundAnchor Specifies that the line ends are anchored with a circle. The center of the circle is at the last point in the line. The circle is wider than the line.
LineCapDiamondAnchor Specifies that the line ends are anchored with a diamond (a square turned at 45 degrees). The center of the diamond is at the last point in the line. The diamond is wider than the line.
LineCapArrowAnchor Specifies that the line ends are anchored with arrowheads. The arrowhead point is located at the last point in the line. The arrowhead is wider than the line.
LineCapCustom Specifies that the line ends are made from a CustomLineCap.
LineCapAnchorMask Specifies line anchor mask to be used for bitwise boolean operations.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox