draftlibs::dxfImportObjects::Text Class Reference

List of all members.

Public Member Functions

def __init__
def __repr__
def get_extrusion
def get_loc

Public Attributes

 color_index
 data
 extrusion
 halignment
 height
 loc
 oblique
 rotation
 space
 type
 valignment
 value
 width_factor

Detailed Description

Class for objects representing dxf Text.

Definition at line 478 of file dxfImportObjects.py.


Member Function Documentation

def draftlibs::dxfImportObjects::Text::__init__ (   self,
  obj 
)
Expects an entity object of type text as input.

Definition at line 481 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Text::__repr__ (   self  ) 

Definition at line 590 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Text::get_extrusion (   self,
  data 
)
Find the axis of extrusion.

Used to get the objects Object Coordinate System (ocs).

Definition at line 574 of file dxfImportObjects.py.

def draftlibs::dxfImportObjects::Text::get_loc (   self,
  data,
  halign,
  valign 
)
Gets adjusted location for text type objects.

If group 72 and/or 73 values are nonzero then the first alignment point values
are ignored and AutoCAD calculates new values based on the second alignment
point and the length and height of the text string itself (after applying the
text style). If the 72 and 73 values are zero or missing, then the second
alignment point is meaningless.

I don't know how to calc text size...

Definition at line 543 of file dxfImportObjects.py.


Member Data Documentation

Definition at line 499 of file dxfImportObjects.py.

Definition at line 486 of file dxfImportObjects.py.

Definition at line 538 of file dxfImportObjects.py.

Definition at line 523 of file dxfImportObjects.py.

Definition at line 489 of file dxfImportObjects.py.

Definition at line 537 of file dxfImportObjects.py.

Definition at line 517 of file dxfImportObjects.py.

Definition at line 505 of file dxfImportObjects.py.

Definition at line 493 of file dxfImportObjects.py.

Definition at line 485 of file dxfImportObjects.py.

Definition at line 529 of file dxfImportObjects.py.

Definition at line 490 of file dxfImportObjects.py.

Definition at line 511 of file dxfImportObjects.py.


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

Generated on Wed Nov 23 19:01:54 2011 for FreeCAD by  doxygen 1.6.1