Home | Trees | Index | Help |
|
---|
Package pyscript :: Package lib :: Module presentation :: Class Poster |
|
object
--+ |PsObj
--+ |AffineObj
--+ |Area
--+ |Group
--+ |Page
--+ | Poster
A poster class.
More docs forthcoming...Method Summary | |
---|---|
__init__(self,
size,
style)
| |
Add a column of the poster. | |
Add a logo to the poster. | |
Add several logos to the poster at one time. | |
Make the poster. | |
Set the abstract of the poster | |
Set the address of the institution of those presenting the poster | |
Set the authors of the poster | |
Set the number of columns to use for the poster. | |
Set the orientation of the poster. | |
Set the size of the poster. | |
Set the style of the poster. | |
Set the title to use for the poster | |
Inherited from Page | |
Area |
return an area object same size as page in default units |
Return the bounding box of the Page object as a Bbox object | |
Return the bounding box of the Page object | |
Return the raw string of the bounding box of the Page object | |
Recalculate the size of the Page object | |
write a self-contained PS Page | |
Inherited from Group | |
Get an item from the list of objects | |
Get a slice of items from the list of objects | |
Returns the length of the object list | |
append object(s) to group | |
self |
apply attributes to all objects |
Returns the body postscript of the object | |
Clear all the elements and reset group to an empty group | |
insert object | |
Reverse the order of objects in the list of objects in the group | |
make sure this object can be inserted into group | |
Inherited from AffineObj | |
self |
concat matrix t to tranformation matrix |
P |
convert external to internal co-ords |
P |
convert internal to external co-ords |
self |
translate object by a certain amount |
string |
undo coordinate system transformation |
string |
set up transformation of coordinate system |
self |
reflect object in mirror |
self |
rotate object, the rotation is around p when supplied otherwise it's the objects origin |
self |
scale object size (towards objects origin or p) |
self |
shear object |
Inherited from PsObj | |
self |
Set a whole lot of attributes in one go |
string |
Return a representation of this object |
string |
return actual postscript string to generate object |
self |
return a copy of this object with listed attributes modified |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Property Summary | |
---|---|
Inherited from Area | |
c | |
e | |
n | |
ne | |
nw | |
s | |
se | |
sw | |
w |
Class Variable Summary | |
---|---|
Inherited from Page | |
NoneType |
label : page number label |
str |
orientation : The paper orientation, "Portrait"/"Landscape" |
dict |
PAPERSIZES = {'letter': (612, 792), 'b4': (709, 1002), '...
|
str |
size : The paper size, eg "a4" |
Inherited from Area | |
c = pyscript.objects.Area.c | |
int |
height : the height |
P |
isw = <class 'pyscript.vectors.P'>
|
int |
width : the width |
Inherited from AffineObj | |
P |
o = <class 'pyscript.vectors.P'>
|
Matrix |
T = <pyscript.vectors.Matrix instance at 0x40449cec>
|
Method Details |
---|
add_column(self, column, side)Add a column of the poster.
|
add_logo(self, logo, height=None)Add a logo to the poster. If only one logo is added to the poster, it is by default located at the top left-hand corner. The second logo is then positioned in the top right-hand corner. The third is positioned in the top middle. If you add more than that, the logos are distributed evenly across the top of the poster.
|
add_logos(self, *logos, **options)Add several logos to the poster at one time. If only one logo is added to the poster, it is by default located at the top left-hand corner. The second logo is then positioned in the top right-hand corner. The third is positioned in the top middle. If you add more than that, the logos are distributed evenly across the top of the poster.
|
make(self, file)Make the poster.
|
set_abstract(self, abstract)Set the abstract of the poster
|
set_address(self, address)Set the address of the institution of those presenting the poster
|
set_authors(self, authors)Set the authors of the poster
|
set_num_columns(self, num_columns)Set the number of columns to use for the poster. Typically one would use two columns for portrait, and three for landscape.
|
set_orientation(self, orientation)Set the orientation of the poster. Options are "portrait" or "landscape".
|
set_size(self, size)Set the size of the poster. These are standard page sizes. It is a good idea to develop a poster at a size of "a4" and then for the final poster use "a0". It is also handy when at a poster session at a conference to have a4 size versions of the a0 poster to give out to people, so the a4 setting is also handy for that.
|
set_style(self, style)Set the style of the poster. This is the name of a set of predefined fonts, sizes, colours etc for the text, the columns of the poster and the poster background.
|
set_title(self, title)Set the title to use for the poster
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Apr 24 17:02:37 2006 | http://epydoc.sf.net |