Home | Trees | Index | Help |
|
---|
Package pyscript :: Package lib :: Module present :: Class EmptySlide |
|
object
--+ |PsObj
--+ |AffineObj
--+ |Area
--+ |Group
--+ |Page
--+ | EmptySlide
Method Summary | |
---|---|
Append items to the slide | |
Append items using the "centre" attribute of the objects | |
Append items using the "east" attribute of the objects | |
Append items using the "north" attribute of the objects | |
Append items using the "south" attribute of the objects | |
Append items using the "west" attribute of the objects | |
Clear the slide of objects | |
Return a flattened list of objects | |
Return the bounding box of the slide | |
Make the slide | |
Make the background of the slide | |
Make the title of the slide | |
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 | |
Initialisation of Group object | |
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 | |
self |
apply attributes to all objects |
Returns the body postscript of the object | |
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 Area | |
Get the "centre" point | |
Get the "east" point | |
Get the "north" point | |
Get the "north-east" point | |
Get the "north-west" point | |
Get the "south" point | |
Get the "south-east" point | |
Get the "south-west" point | |
Get the "west" point | |
Set the "centre" point | |
Set the "east" point | |
Set the "north" point | |
Set the "north-east" point | |
Set the "north-west" point | |
Set the "south" point | |
Set the "south-east" point | |
Set the "south-west" point | |
Set the "west" point | |
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 | |
---|---|
str |
orientation : The paper orientation, "Portrait"/"Landscape" |
str |
size : The paper size, eg "a4" |
NoneType |
title = None |
Inherited from Page | |
NoneType |
label : page number label |
dict |
PAPERSIZES = {'letter': (612, 792), 'b4': (709, 1002), '...
|
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 |
---|
append(self, *items, **options)Append items to the slide
|
append_c(self, *items)Append items using the "centre" attribute of the objects
|
append_e(self, *items)Append items using the "east" attribute of the objects
|
append_n(self, *items)Append items using the "north" attribute of the objects
|
append_s(self, *items)Append items using the "south" attribute of the objects
|
append_w(self, *items)Append items using the "west" attribute of the objects
|
clear(self)Clear the slide of objects
|
flatten(self, thegroup=None, objects=[])Return a flattened list of objects |
main(self)Return the bounding box of the slide |
make(self, page=1, total=1)Make the slide
|
make_back(self)Make the background of the slide |
make_title(self)Make the title of the slide |
Class Variable Details |
---|
orientationThe paper orientation, "Portrait"/"Landscape"
|
sizeThe paper size, eg "a4"
|
title
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Apr 24 17:02:38 2006 | http://epydoc.sf.net |