class-Com.Tecnick.Pdf.Graph.Transform

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Transform

Com\Tecnick\Pdf\Graph\Transform

Com\Tecnick\Pdf\Graph\Base
Extended by Com\Tecnick\Pdf\Graph\Style
Extended by Com\Tecnick\Pdf\Graph\Transform

Direct known subclasses

Com\Tecnick\Pdf\Graph\Raw
Abstract
Namespace: Com\Tecnick\Pdf\Graph
Package: PdfGraph
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-graph
Located at Transform.php
Methods summary
public array
# getTransformStack( )

Returns the transformation stack.

public integer
# getTransformIndex( )

Returns the transformation stack index.

public string
# getStartTransform( )

Starts a 2D transformation saving current graphic state. This function must be called before calling transformation methods

public string
# getStopTransform( )

Stops a 2D tranformation restoring previous graphic state. This function must be called after calling transformation methods.

public string
# getTransformation( array $ctm )

Get the tranformation matrix (CTM) PDF string

public string
# getScaling( float $skx, float $sky, float $posx, float $posy )

Vertical and horizontal non-proportional Scaling.

public string
# getHorizScaling( float $skx, float $posx, float $posy )

Horizontal Scaling.

public string
# getVertScaling( float $sky, float $posx, float $posy )

Vertical Scaling.

public string
# getPropScaling( float $skf, float $posx, float $posy )

Vertical and horizontal proportional Scaling.

public string
# getRotation( float $angle, float $posx, float $posy )

Rotation.

public string
# getHorizMirroring( float $posx )

Horizontal Mirroring.

public string
# getVertMirroring( float $posy )

Verical Mirroring.

public string
# getPointMirroring( float $posx, float $posy )

Point reflection mirroring.

public string
# getReflection( float $ang, float $posx, float $posy )

Reflection against a straight line through point (x, y) with the gradient angle (angle).

public string
# getTranslation( float $trx, float $try )

Translate graphic object horizontally and vertically.

public string
# getHorizTranslation( float $trx )

Translate graphic object horizontally.

public string
# getVertTranslation( float $try )

Translate graphic object vertically.

public string
# getSkewing( float $angx, float $angy, float $posx, float $posy )

Skew.

public string
# getHorizSkewing( float $angx, float $posx, float $posy )

Skew horizontally.

public string
# getVertSkewing( float $angy, float $posx, float $posy )

Skew vertically.

public array
# getCtmProduct( array $tma, array $tmb )

Get the product of two Tranformation Matrix.

Methods inherited from Com\Tecnick\Pdf\Graph\Style
add(), getCurrentStyleArray(), getCurrentStyleItem(), getExtGState(), getLastStyleProperty(), getLineModeCmd(), getModeWithoutClose(), getModeWithoutFill(), getModeWithoutStroke(), getPathPaintOp(), getStyle(), getStyleCmd(), init(), isClosingMode(), isFillingMode(), isStrokingMode(), pop(), restoreStyleStaus(), saveStyleStaus()
Methods inherited from Com\Tecnick\Pdf\Graph\Base
__construct(), getObjectNumber(), getOutExtGState(), getOutExtGStateResources(), getOutGradientCols(), getOutGradientResources(), getOutGradientShaders(), getOutPatternObj(), setKUnit(), setPageHeight(), setPageWidth()
Constants inherited from Com\Tecnick\Pdf\Graph\Base
MPI
Properties summary
protected array $ctm

Array (stack) of Current Transformation Matrix (CTM), which maps user space coordinates used within a PDF content stream into output device coordinates.

# array()
protected integer $ctmid

Current ID for transformation matrix.

# -1
Properties inherited from Com\Tecnick\Pdf\Graph\Style
$extgstates, $kunit, $linecapmap, $linejoinmap, $ppopmap, $style, $styleid, $stylemark
Properties inherited from Com\Tecnick\Pdf\Graph\Base
$col, $enc, $pageh, $pagew, $pdfa, $pon
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy