~chroot64bit/zivios/gentoo-experimental

« back to all changes in this revision

Viewing changes to application/library/Zend/Pdf/Color.php

  • Committer: Mustafa A. Hashmi
  • Date: 2008-12-04 13:32:21 UTC
  • Revision ID: mhashmi@zivios.org-20081204133221-0nd1trunwevijj38
Inclusion of new installation framework with ties to zend layout and dojo layout

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Zend Framework
 
4
 *
 
5
 * LICENSE
 
6
 *
 
7
 * This source file is subject to the new BSD license that is bundled
 
8
 * with this package in the file LICENSE.txt.
 
9
 * It is also available through the world-wide-web at this URL:
 
10
 * http://framework.zend.com/license/new-bsd
 
11
 * If you did not receive a copy of the license and are unable to
 
12
 * obtain it through the world-wide-web, please send an email
 
13
 * to license@zend.com so we can send you a copy immediately.
 
14
 *
 
15
 * @package    Zend_Pdf
 
16
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
17
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
18
 */
 
19
 
 
20
 
 
21
/**
 
22
 * PDF provides a powerfull facilities for specifying the colors of graphics objects.
 
23
 * This class encapsulates color behaviour.
 
24
 *
 
25
 * Some colors interact with PDF document (create additional objects in a PDF),
 
26
 * others don't do it. That is defined in a subclasses.
 
27
 *
 
28
 * @package    Zend_Pdf
 
29
 * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
 
30
 * @license    http://framework.zend.com/license/new-bsd     New BSD License
 
31
 */
 
32
abstract class Zend_Pdf_Color
 
33
{
 
34
    /**
 
35
     * Instructions, which can be directly inserted into content stream
 
36
     * to switch color.
 
37
     * Color set instructions differ for stroking and nonstroking operations.
 
38
     *
 
39
     * @param boolean $stroking
 
40
     * @return string
 
41
     */
 
42
    abstract public function instructions($stroking);
 
43
}
 
44