example__030_8php

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.
example_030.php File Reference

Namespaces

 com\tecnick\tcpdf
 This is a PHP class for decoding common PDF filters.
 

Variables

 $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, ‘UTF-8’, false)
 
 $red = array(255, 0, 0)
 
 $blue = array(0, 0, 200)
 
 $yellow = array(255, 255, 0)
 
 $green = array(0, 255, 0)
 
 $white = array(255)
 
 $black = array(0)
 
 $coords = array(0, 0, 1, 0)
 
 $coords_min = 0
 
 $coords_max = 1
 
 $patch_array [0][‘f’] = 0
 
 $patch_array [0][‘points’]
 
 $patch_array [0][‘colors’][0] = array(‘r’ => 255, ‘g’ => 255, ‘b’ => 0)
 
 $patch_array [0][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 255)
 
 $patch_array [0][‘colors’][2] = array(‘r’ => 0, ‘g’ => 255,‘b’ => 0)
 
 $patch_array [0][‘colors’][3] = array(‘r’ => 255, ‘g’ => 0,‘b’ => 0)
 
 $patch_array [1][‘f’] = 2
 
 $patch_array [1][‘points’]
 
 $patch_array [1][‘colors’][0] =array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)
 
 $patch_array [1][‘colors’][1] =array(‘r’ => 255, ‘g’ => 0, ‘b’ => 255)
 
 $patch_array [2][‘f’] = 3
 
 $patch_array [2][‘points’]
 
 $patch_array [2][‘colors’][0] = array(‘r’ => 0, ‘g’ => 255, ‘b’ => 255)
 
 $patch_array [2][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)
 
 $patch_array [3][‘f’] = 1
 
 $patch_array [3][‘points’]
 
 $patch_array [3][‘colors’][0] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)
 
 $patch_array [3][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 255)
 

Variable Documentation

$black = array(0)

$blue = array(0, 0, 200)

$coords = array(0, 0, 1, 0)

$coords_max = 1

$coords_min = 0

$green = array(0, 255, 0)

$patch_array[0][‘f’] = 0

$patch_array[0][‘points’]
Initial value:
= array(
0.00,0.00, 0.33,0.00,
0.67,0.00, 1.00,0.00, 1.00,0.33,
0.8,0.67, 1.00,1.00, 0.67,0.8,
0.33,1.80, 0.00,1.00, 0.00,0.67,
0.00,0.33)
$patch_array[0][‘colors’][0] = array(‘r’ => 255, ‘g’ => 255, ‘b’ => 0)

$patch_array[0][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 255)

$patch_array[0][‘colors’][2] = array(‘r’ => 0, ‘g’ => 255,‘b’ => 0)

$patch_array[0][‘colors’][3] = array(‘r’ => 255, ‘g’ => 0,‘b’ => 0)

$patch_array[1][‘f’] = 2

$patch_array[1][‘points’]
Initial value:
= array(
0.00,1.33,
0.00,1.67, 0.00,2.00, 0.33,2.00,
0.67,2.00, 1.00,2.00, 1.00,1.67,
1.5,1.33)
$patch_array[1][‘colors’][0] =array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)

$patch_array[1][‘colors’][1] =array(‘r’ => 255, ‘g’ => 0, ‘b’ => 255)

$patch_array[2][‘f’] = 3

$patch_array[2][‘points’]
Initial value:
= array(
1.33,0.80,
1.67,1.50, 2.00,1.00, 2.00,1.33,
2.00,1.67, 2.00,2.00, 1.67,2.00,
1.33,2.00)
$patch_array[2][‘colors’][0] = array(‘r’ => 0, ‘g’ => 255, ‘b’ => 255)

$patch_array[2][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)

$patch_array[3][‘f’] = 1

$patch_array[3][‘points’]
Initial value:
= array(
2.00,0.67,
2.00,0.33, 2.00,0.00, 1.67,0.00,
1.33,0.00, 1.00,0.00, 1.00,0.33,
0.8,0.67)
$patch_array[3][‘colors’][0] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 0)

$patch_array[3][‘colors’][1] = array(‘r’ => 0, ‘g’ => 0, ‘b’ => 255)

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, ‘UTF-8’, false)

$red = array(255, 0, 0)

$white = array(255)

$yellow = array(255, 255, 0)

 

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