Thickness of line for DXF export


does anyone know why thickness of line is multiplied 10 times in 
plug-ins/dxf/dxf-export.c ?
For instance, in function draw_line(), 

    fprintf(renderer->file, " 39\n%d\n", (int)(10*renderer->lcurrent.width));
    /* Thickness */

In dxf-import.c, thickness is not modified, so I'm curious why
dxf-export.c does this.

As you can imagine easily,
this difference between export and import makes lines very thick
when you load the same dxf file right after you exported a diagram 
in dxf format.

    Takeshi Hamasaki
    E-mail: hma syd odn ne jp

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]