ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
example_030.php File Reference

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

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

◆ $blue

◆ $coords

◆ $coords_max

$coords_max = 1

Definition at line 119 of file example_030.php.

Referenced by TCPDF\CoonsPatchMesh().

◆ $coords_min

$coords_min = 0

Definition at line 118 of file example_030.php.

Referenced by TCPDF\CoonsPatchMesh().

◆ $green

◆ $patch_array [1/18]

$patch_array[0][ 'f'] = 0

Definition at line 131 of file example_030.php.

Referenced by TCPDF\CoonsPatchMesh().

◆ $patch_array [2/18]

$patch_array[0][ 'points']
Initial value:
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)
Create styles array
The data for the language used.

Definition at line 132 of file example_030.php.

◆ $patch_array [3/18]

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

Definition at line 138 of file example_030.php.

◆ $patch_array [4/18]

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

Definition at line 139 of file example_030.php.

◆ $patch_array [5/18]

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

Definition at line 140 of file example_030.php.

◆ $patch_array [6/18]

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

Definition at line 141 of file example_030.php.

◆ $patch_array [7/18]

$patch_array[1][ 'f'] = 2

Definition at line 144 of file example_030.php.

◆ $patch_array [8/18]

$patch_array[1][ 'points']
Initial value:
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)
Create styles array
The data for the language used.

Definition at line 145 of file example_030.php.

◆ $patch_array [9/18]

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

Definition at line 150 of file example_030.php.

◆ $patch_array [10/18]

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

Definition at line 151 of file example_030.php.

◆ $patch_array [11/18]

$patch_array[2][ 'f'] = 3

Definition at line 154 of file example_030.php.

◆ $patch_array [12/18]

$patch_array[2][ 'points']
Initial value:
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)
Create styles array
The data for the language used.

Definition at line 155 of file example_030.php.

◆ $patch_array [13/18]

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

Definition at line 160 of file example_030.php.

◆ $patch_array [14/18]

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

Definition at line 161 of file example_030.php.

◆ $patch_array [15/18]

$patch_array[3][ 'f'] = 1

Definition at line 164 of file example_030.php.

◆ $patch_array [16/18]

$patch_array[3][ 'points']
Initial value:
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)
Create styles array
The data for the language used.

Definition at line 165 of file example_030.php.

◆ $patch_array [17/18]

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

Definition at line 170 of file example_030.php.

◆ $patch_array [18/18]

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

Definition at line 171 of file example_030.php.

◆ $pdf

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

Definition at line 31 of file example_030.php.

◆ $red

◆ $white

◆ $yellow

$yellow = array(255, 255, 0)

Definition at line 82 of file example_030.php.