Method function IGDIPlus.IGPGraphicsPath.SetMarker() : TGPGraphicsPath

From Mitov Wiki Doc
Revision as of 17:18, 18 October 2012 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Class: IGPGraphicsPath

Contents

Syntax

Delphi:

function SetMarker() : TGPGraphicsPath;

C++ Builder:

TGPGraphicsPath __fastcall SetMarker();

Visual C++ (MFC):

SetMarker();

Summary

Designates the last point in this path as a marker point.

Description

Call this method to designate the last point in this path as a marker point. Remarks A TGPGraphicsPath object has an array of points and an array of types. Each element in the array of types is a byte that specifies the point type and a set of flags for the corresponding element in the array of points. Possible point types and flags are listed in the TGPPathPointType enumeration.


Each time you add a line, curve, or shape to a path, the point array and the type array are expanded. When you call TGPGraphicsPath.SetMarker, a marker flag is placed in the last byte of the type array. That flag designates the last point of the point array as a marker point.


Markers divide a path into sections. You can use a TGPGraphicsPathIterator object to draw selected sections of a path.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox