Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Functions | Variables
Sample1 Namespace Reference

Functions

def main

Variables

tuple margins = (10, 10, 10, 30)

Function Documentation

def Sample1.main ( )

Definition at line 16 of file Sample1.py.

00016 
00017 def main():
00018     if newDocument(PAPER_A4, margins, PORTRAIT, 1, UNIT_POINTS, NOFACINGPAGES, FIRSTPAGERIGHT, 1):
00019         a = createText(50, 50, 200, 80)
00020         setText("A Test for Scribus", a)
00021         setFontSize(20, a)
00022         b = createEllipse(267, 391, 60, 60)
00023         setFillColor("Red", b)
00024         saveDocAs("Sample1.sla")


Variable Documentation

tuple Sample1.margins = (10, 10, 10, 30)

Definition at line 14 of file Sample1.py.