DIA Relation Schema: scale diagram fix

This commit is contained in:
Adnan
2010-08-20 11:11:51 +05:00
parent 75623e5066
commit 5fb5678a50

View File

@@ -321,16 +321,16 @@ class Table_Stats
$dia->writeAttribute('id', ''.$this->tableId.''); $dia->writeAttribute('id', ''.$this->tableId.'');
$dia->writeRaw( $dia->writeRaw(
'<dia:attribute name="obj_pos"> '<dia:attribute name="obj_pos">
<dia:point val="'.($this->x * 0.026458333).','.($this->y * 0.026458333).'"/> <dia:point val="'.($this->x * .05).','.($this->y * .05).'"/>
</dia:attribute> </dia:attribute>
<dia:attribute name="obj_bb"> <dia:attribute name="obj_bb">
<dia:rectangle val="'.($this->x * 0.026458333).','.($this->y * 0.026458333).';9.97,9.2"/> <dia:rectangle val="'.($this->x * .05).','.($this->y * .05).';9.97,9.2"/>
</dia:attribute> </dia:attribute>
<dia:attribute name="meta"> <dia:attribute name="meta">
<dia:composite type="dict"/> <dia:composite type="dict"/>
</dia:attribute> </dia:attribute>
<dia:attribute name="elem_corner"> <dia:attribute name="elem_corner">
<dia:point val="'.($this->x * 0.026458333).','.($this->y * 0.026458333).'"/> <dia:point val="'.($this->x * .05).','.($this->y * .05).'"/>
</dia:attribute> </dia:attribute>
<dia:attribute name="elem_width"> <dia:attribute name="elem_width">
<dia:real val="5.9199999999999999"/> <dia:real val="5.9199999999999999"/>