Re: 3.2, Wrapping DLLs and Float types
	
	
	
	
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
	
	
		| 
			 
									Not Categorized, Please Help
						 
		 | 
		
					 |