[reportlab-users] Standard graphics: (85w x 32h pixels)
Robin Becker
reportlab-users@reportlab.com
Sun, 29 Dec 2002 16:54:38 +0000
In article <200212291151.03710.joelbert@digital51.com>, Joel A. Walberg <joelbert@digital51.com>
writes
>I'm working on building a site using reportlab and would like to credit it.
>However, I have been unable to find any logos that are about this size.
>
>Are there any?
#The official RL Logo can be drawn using this script
from reportlab.lib.corp import RL_CorpLogo
from reportlab.graphics.shapes import Drawing, _DrawingEditorMixin
class RL_Logo(_DrawingEditorMixin,Drawing):
def __init__(self,width=400,height=200,*args,**kw):
apply(Drawing.__init__,(self,width,height)+args,kw)
self.height = 32
self.width = 85
self._add(self,RL_CorpLogo(),name='L',validate=None,desc=None)
self.L.height = 32
self.L.width = 85
if __name__=="__main__": #NORUNTESTS
RL_Logo().save(formats=['gif'],outDir='.',fnRoot=None)
>-------------------------
>Joel A. Walberg
>joelbert@digital51.com
>_______________________________________________
>reportlab-users mailing list
>reportlab-users@reportlab.com
>http://two.pairlist.net/mailman/listinfo/reportlab-users
--
Robin Becker