class-Com.Tecnick.Pdf.Graph.Raw

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 Raw

Com\Tecnick\Pdf\Graph\Raw

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

Direct known subclasses

Com\Tecnick\Pdf\Graph\Gradient

Indirect known subclasses

Com\Tecnick\Pdf\Graph\Draw
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 Raw.php
Methods summary
public string
# getRawPoint( float $posx, float $posy )

Begin a new subpath by moving the current point to the specified coordinates, omitting any connecting line segment.

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

Append a straight line segment from the current point to the specified one. The new current point shall be the one specified.

public string
# getRawRect( float $posx, float $posy, float $width, float $height )

Append a rectangle to the current path as a complete subpath, with lower-left corner in the specified point and dimensions width and height in user units.

public string
# getRawCurve( float $posx1, float $posy1, float $posx2, float $posy2, float $posx3, float $posy3 )

Append a cubic Bezier curve to the current path. The curve shall extend from the current point to the point (posx3, posy3), using (posx1, posy1) and (posx2, posy2) as the Bezier control points. The new current point shall be (posx3, posy3).

public string
# getRawCurveV( float $posx2, float $posy2, float $posx3, float $posy3 )

Append a cubic Bezier curve to the current path. The curve shall extend from the current point to the point (posx3, posy3), using the current point and (posx2, posy2) as the Bezier control points. The new current point shall be (posx3, posy3).

public string
# getRawCurveY( float $posx1, float $posy1, float $posx3, float $posy3 )

Append a cubic Bezier curve to the current path. The curve shall extend from the current point to the point (posx3, posy3), using (posx1, posy1) and (posx3, posy3) as the Bezier control points. The new current point shall be (posx3, posy3).

protected
# setRawEllipticalArcAngles( float & $ags, float & $agf, float $rdv, float $rdh, boolean $ccw, boolean $svg )

Initialize angles for the elliptical arc.

public string
# getRawEllipticalArc( float $posxc, float $posyc, float $rdh, float $rdv, float $posxang = 0, float $angs = 0, float $angf = 360, boolean $pie = false, integer $ncv = 2, boolean $startpoint = true, boolean $ccw = true, boolean $svg = false, array & $bbox = array() )

Append an elliptical arc to the current path. An ellipse is formed from n Bezier curves.

public float
# getVectorsAngle( integer $posx1, integer $posy1, integer $posx2, integer $posy2 )

Returns the angle in radiants between two vectors with the same origin point. Angles are counted counter-clock wise.

public float
# degToRad( float $deg )

Converts the number in degrees to the radian equivalent. We use this instead of $this->degToRad to avoid precision problems with hhvm.

Methods inherited from Com\Tecnick\Pdf\Graph\Transform
getCtmProduct(), getHorizMirroring(), getHorizScaling(), getHorizSkewing(), getHorizTranslation(), getPointMirroring(), getPropScaling(), getReflection(), getRotation(), getScaling(), getSkewing(), getStartTransform(), getStopTransform(), getTransformIndex(), getTransformStack(), getTransformation(), getTranslation(), getVertMirroring(), getVertScaling(), getVertSkewing(), getVertTranslation()
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 inherited from Com\Tecnick\Pdf\Graph\Transform
$ctm, $ctmid
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