SetTilingPatternMatrix

Vector graphics

Description

Sets the matrix on an existing tiling pattern, allowing the pattern cell coordinate system to be scaled, rotated, translated, or skewed before use.

Syntax

Delphi

Function SetTilingPatternMatrix(Const PatternName: WideString; M11, M12, M21, M22, MDX, MDY: Double): Integer;

Parameters

PatternNameName of a tiling pattern previously created in the selected document.
M11First matrix row, first column.
M12First matrix row, second column.
M21Second matrix row, first column.
M22Second matrix row, second column.
MDXHorizontal translation component.
MDYVertical translation component.

Returns

Returns 1 when the named tiling pattern exists and the matrix is stored; returns 0 when the pattern cannot be found.

See also

NewTilingPatternFromCapturedPage, SetFillTilingPattern