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 Base


Direct known subclasses

Namespace: Com\Tecnick\Pdf\Graph
Package: PdfGraph
Category: Library
Copyright: 2011-2016 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni
Since: 2011-05-23
Located at Base.php
Methods summary
# __construct( float $kunit, float $pagew, float $pageh, Com\Tecnick\Color\Pdf $color, Com\Tecnick\Pdf\Encrypt\Encrypt $enc, $pdfa = false )


public integer
# getObjectNumber( )

Returns current PDF object number

abstract public
# init( )

Initialize objects

# setPageHeight( float $pageh )

Set page height

# setPageWidth( float $pagew )

Set page width

# setKUnit( float $kunit )

Set unit of measure conversion ratio.

public string
# getOutExtGState( integer $pon )

Get the PDF output string for ExtGState

public string
# getOutExtGStateResources( )

Get the PDF output string for ExtGState Resource Dictionary

public string
# getOutGradientResources( )

Get the PDF output string for Gradients Resource Dictionary

protected string
# getOutGradientCols( array $grad, string $type )

Get the PDF output string for gradient colors and transparency

protected string
# getOutPatternObj( array $grad, integer $objref )

Get the PDF output string for the pattern and shading object

public string
# getOutGradientShaders( integer $pon )

Get the PDF output string for gradient shaders

Constants summary
float MPI

Pi constant We use this instead of M_PI because HHVM has a different value.

# 3.14159265358979323846264338327950288419716939937510
Properties summary
protected integer $pon

Current PDF object number

protected float $pageh

Current page height

# 0
protected float $pagew

Current page width

# 0
protected float $kunit

Unit of measure conversion ratio

# 1.0
protected Com\Tecnick\Color\Pdf $col

Color object

protected Com\Tecnick\Pdf\Encrypt\Encrypt $enc

Encrypt object

protected boolean $pdfa

True if we are in PDF/A mode.

# false

© 2004-2020 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy