mathmaker  0.4(alpha)
Public Member Functions | Properties
core.base.Drawable Class Reference

All Drawable objects. More...

Inheritance diagram for core.base.Drawable:
core.base.NamedObject core.base.Clonable core.base_geometry.Angle core.base_geometry.Point core.base_geometry.Ray core.base_geometry.Segment core.geometry.Triangle core.geometry.RightTriangle

List of all members.

Public Member Functions

def get_euk_filename
 Returns the eukleides filename associated to the triangle.
def get_eps_filename
 Returns the eps filename associated to the triangle.
def set_name
 Sets the name of the object.
def into_euk
 Creates the euk string to put in the file.
def into_pic
 Creates the picture of the drawable object.

Properties

 euk_filename
 eps_filename

Detailed Description

All Drawable objects.

Any Drawable must reimplement into_euk() Drawable are not renamable, except for the Points

Definition at line 138 of file base.py.


Member Function Documentation

def core.base.Drawable.into_euk (   self,
  options 
)

Creates the euk string to put in the file.

Parameters:
optionsAny options
Returns:
The string to put in the picture file

Reimplemented in core.geometry.Triangle.

Definition at line 191 of file base.py.

Referenced by core.base.Drawable.into_pic().

def core.base.Drawable.into_pic (   self,
  options 
)

Creates the picture of the drawable object.

Returns:
Nothing, just creates the picture file

Definition at line 201 of file base.py.

References core.base.Drawable.euk_filename, and core.base.Drawable.into_euk().


Property Documentation

core::base.Drawable::eps_filename [static]
Initial value:
property(get_eps_filename,
                            doc = "eps filename associated to " \
                                  + "the right triangle")

Definition at line 168 of file base.py.

core::base.Drawable::euk_filename [static]
Initial value:
property(get_euk_filename,
                            doc = "Eukleides filename associated to " \
                                  + "the right triangle")

Definition at line 164 of file base.py.

Referenced by core.base.Drawable.into_pic().


The documentation for this class was generated from the following file: