|
From: | Felipe Castro |
Subject: | Re: [libredwg] Testing LibreDwg - Header Variables. |
Date: | Tue, 4 Mar 2014 21:23:07 -0300 |
Sorry Didnt work
address@hidden:~/libredwg/examples$ gcc guruTest.c -o guruTest -lredwg -lm
guruTest.c: In function ‘output_HeadersVariables’:
guruTest.c:354:59: error: request for member ‘code’ in something not a structure or union
printf("\"TEXTSTYLE\";\"%d\"\n",dwg->header_vars.TEXTSTYLE.code);
^
On Tuesday 04 March 2014 05:24 PM, Felipe Castro wrote:
BITCODE_H is a structure of type Dwg_Handle, which has three fields: code, size, value.
You should access these fields with:
dwg->header_vars.TEXTSTYLE.code
dwg->header_vars.TEXTSTYLE.size
dwg->header_vars.TEXTSTYLE.value
ok?
2014-03-04 4:28 GMT-03:00 Guruprasad Rane <address@hidden>:
HI
I am trying to check whether LibreDwg is able to output header variables correctly.
I was able to get values of most header variables for example
printf("\"DIMASO\";\"%d\"\n",dwg->header_vars.DIMASO);
But I am not able to get vaules of varible with BITCODE_H e.g. variable TEXTSTYLE
Can anyone help me with this? I have very basic knowledge of programming.
Regards
Guruprasad
[Prev in Thread] | Current Thread | [Next in Thread] |