Re: 3.2, Wrapping DLLs and Float types

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jason Gade wrote:
>  
> This is getting outside of my expertise, but where there any compiler flags
> different for 3.0 than from 3.2? Maybe the offset you changed was still a
> little
> wrong but close enough to work most of the time?
> 

I'm not sure either. Matt helped me find the right offsets.

<snip>

> Also, are you sure the arguments are supposed to be floats and not doubles?

Yes, I just went back and tripple checked.

HPDF_STATUS HPDF_Page_SetFontAndSize (HPDF_Page  page,
                                      HPDF_Font  font,
                                      HPDF_REAL  size);
HPDF_STATUS HPDF_Page_TextOut (HPDF_Page    page,
                               HPDF_REAL    xpos,
                               HPDF_REAL    ypos,
                              const char   *text);
In hpdf_types.h:

/*  float type (32bit IEEE754)
 */
typedef  float               HPDF_REAL;

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu