Class IGDIPlus.TGPHatchBrush

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.

Package: SignalLabBasicPkg

Unit: IGDIPlus

Inherits: TGPBrush

Contents

Syntax

Delphi:

type TGPHatchBrush = class( TGPBrush, IGPHatchBrush )

C++ Builder:

class TGPHatchBrush : public TGPBrush

Visual C++ (MFC):

class CTGPHatchBrush : public CTGPBrush

C# (.NET):

public ref class TGPHatchBrush : Mitov.SignalLab.Brush

Summary

Defines a rectangular brush with a hatch style, a foreground color, and a background color.

Description

This TGPHatchBrush class defines a rectangular brush with a hatch style, a foreground color, and a background color. There are six hatch styles. The foreground color defines the color of the hatch lines; the background color defines the color over which the hatch lines are drawn. Remarks Hatches are applied to shape interiors in the device space. As a result, they maintain their appearance in device space and are unaffected by current transformations in the graphics context. Such brushes are also called non-scalable brushes. Hatches are aligned at the upper-left corner of the display device. When the graphics engine uses a TGPHatchBrush object to paint a shape, it first transforms the shape to device space before applying the hatch to the interiors. Hatches are always tiled to paint the interiors.

Methods

Public

From TGPBrush

Methods

Public

From TGPBase

Methods

Public

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox