reportlab/demos/pythonpoint/customshapes.py
changeset 494 54257447cfe9
parent 76 dff7aff2fe03
equal deleted inserted replaced
493:89dbc0b19ede 494:54257447cfe9
     1 ###############################################################################
     1 #copyright ReportLab Inc. 2000
     2 #
     2 #see license.txt for license details
     3 #	ReportLab Public License Version 1.0
     3 #history http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi/reportlab/demos/pythonpoint/customshapes.py?cvsroot=reportlab
     4 #
     4 #$Header: /tmp/reportlab/reportlab/demos/pythonpoint/Attic/customshapes.py,v 1.3 2000/10/25 08:57:44 rgbecker Exp $
     5 #   Except for the change of names the spirit and intention of this
     5 __version__=''' $Id: customshapes.py,v 1.3 2000/10/25 08:57:44 rgbecker Exp $ '''
     6 #   license is the same as that of Python
       
     7 #
       
     8 #	(C) Copyright ReportLab Inc. 1998-2000.
       
     9 #
       
    10 #
       
    11 # All Rights Reserved
       
    12 #
       
    13 # Permission to use, copy, modify, and distribute this software and its
       
    14 # documentation for any purpose and without fee is hereby granted, provided
       
    15 # that the above copyright notice appear in all copies and that both that
       
    16 # copyright notice and this permission notice appear in supporting
       
    17 # documentation, and that the name of ReportLab not be used
       
    18 # in advertising or publicity pertaining to distribution of the software
       
    19 # without specific, written prior permission. 
       
    20 # 
       
    21 #
       
    22 # Disclaimer
       
    23 #
       
    24 # ReportLab Inc. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
       
    25 # SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
       
    26 # IN NO EVENT SHALL ReportLab BE LIABLE FOR ANY SPECIAL, INDIRECT
       
    27 # OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
       
    28 # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
       
    29 # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
       
    30 # PERFORMANCE OF THIS SOFTWARE. 
       
    31 #
       
    32 ###############################################################################
       
    33 #	$Log: customshapes.py,v $
       
    34 #	Revision 1.2  2000/04/06 09:48:42  andy_robinson
       
    35 #	Removed some stray comments
       
    36 #
       
    37 #	Revision 1.1  2000/04/06 09:47:20  andy_robinson
       
    38 #	Added several new shape tags.
       
    39 #	Broke out parser into separate module, to
       
    40 #	allow for alternative parsers in future.
       
    41 #	Broke out 'user guide' into pythonpoint.xml
       
    42 #	
       
    43 __version__=''' $Id: customshapes.py,v 1.2 2000/04/06 09:48:42 andy_robinson Exp $ '''
       
    44 # xml parser stuff for PythonPoint
     6 # xml parser stuff for PythonPoint
    45 # PythonPoint Markup Language!
     7 # PythonPoint Markup Language!
    46 __doc__="""
     8 __doc__="""
    47 This demonstrates a custom shape for use with the <customshape> tag.
     9 This demonstrates a custom shape for use with the <customshape> tag.
    48 The shape must fulfil a very simple interface, which may change in
    10 The shape must fulfil a very simple interface, which may change in