1<?php
2
3/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5/**
6 * Image_Graph - PEAR PHP OO Graph Rendering Utility.
7 *
8 * PHP version 5
9 *
10 * LICENSE: This library is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or (at your
13 * option) any later version. This library is distributed in the hope that it
14 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
16 * General Public License for more details. You should have received a copy of
17 * the GNU Lesser General Public License along with this library; if not, write
18 * to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19 * 02111-1307 USA
20 *
21 * @category   Images
22 * @package    Image_Graph
23 * @subpackage Marker
24 * @author     Jesper Veggerby <pear.nosey@veggerby.dk>
25 * @author     Stefan Neufeind <pear.neufeind@speedpartner.de>
26 * @copyright  2003-2009 The PHP Group
27 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
28 * @version    SVN: $Id: ReversePinpoint.php 291170 2009-11-23 03:50:22Z neufeind $
29 * @link       http://pear.php.net/package/Image_Graph
30 */
31
32/**
33 * Include file Image/Graph/Marker/Icon.php
34 */
35require_once 'Image/Graph/Marker/Icon.php';
36
37/**
38 * Data marker using a (reverse) pinpoint as marker.
39 *
40 * @category   Images
41 * @package    Image_Graph
42 * @subpackage Marker
43 * @author     Jesper Veggerby <pear.nosey@veggerby.dk>
44 * @author     Stefan Neufeind <pear.neufeind@speedpartner.de>
45 * @copyright  2003-2009 The PHP Group
46 * @license    http://www.gnu.org/copyleft/lesser.html  LGPL License 2.1
47 * @version    Release: 0.8.0
48 * @link       http://pear.php.net/package/Image_Graph
49 */
50class Image_Graph_Marker_ReversePinpoint extends Image_Graph_Marker_Icon
51{
52
53    /**
54     * Create the marker as a reverse pin point
55     */
56    function Image_Graph_Marker_ReversePinpoint()
57    {
58        parent::__construct(
59            dirname(__FILE__).'/../Images/Icons/pinpointr.png'
60        );
61        $this->setPointX(10);
62        $this->setPointY(13);
63    }
64
65}
66
67?>
68