class-Com.Tecnick.Pdf.Graph.Base

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

Com\Tecnick\Pdf\Graph\Base

Direct known subclasses

Com\Tecnick\Pdf\Graph\Style
Abstract
Namespace: Com\Tecnick\Pdf\Graph
Package: PdfGraph
Category: Library
Copyright: 2011-2016 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 Base.php
Methods summary
public
# __construct( float $kunit, float $pagew, float $pageh, Com\Tecnick\Color\Pdf $color, Com\Tecnick\Pdf\Encrypt\Encrypt $enc, $pdfa = false )

Initialize

public integer
# getObjectNumber( )

Returns current PDF object number

abstract public
# init( )

Initialize objects

public
# setPageHeight( float $pageh )

Set page height

public
# setPageWidth( float $pagew )

Set page width

public
# 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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy