1 /*
    2  * << Haru Free PDF Library >> -- hpdf_annotation.h
    3  *
    4  * URL: http://libharu.org
    5  *
    6  * Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
    7  * Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
    8  *
    9  * Permission to use, copy, modify, distribute and sell this software
   10  * and its documentation for any purpose is hereby granted without fee,
   11  * provided that the above copyright notice appear in all copies and
   12  * that both that copyright notice and this permission notice appear
   13  * in supporting documentation.
   14  * It is provided "as is" without express or implied warranty.
   15  *
   16  */
   17 
   18 #ifndef _HPDF_3DMEASURE_H
   19 #define _HPDF_3DMEASURE_H
   20 
   21 #include "hpdf_objects.h"
   22 
   23 #ifdef __cplusplus
   24 extern "C" {
   25 #endif
   26 
   27 /*----------------------------------------------------------------------------*/
   28 /*------ HPDF_3DMeasure -----------------------------------------------------*/
   29 
   30 
   31 HPDF_3DMeasure
   32 HPDF_3DC3DMeasure_New(HPDF_MMgr mmgr,
   33 		              HPDF_Xref xref,
   34 		              HPDF_Point3D    firstanchorpoint,
   35 		              HPDF_Point3D    textanchorpoint
   36 		);
   37              
   38 HPDF_3DMeasure
   39 HPDF_PD33DMeasure_New(HPDF_MMgr mmgr,
   40 					  HPDF_Xref xref,
   41 					  HPDF_Point3D    annotationPlaneNormal,
   42 					  HPDF_Point3D    firstAnchorPoint,
   43 					  HPDF_Point3D    secondAnchorPoint,
   44 					  HPDF_Point3D    leaderLinesDirection,
   45 					  HPDF_Point3D    measurementValuePoint,
   46 					  HPDF_Point3D    textYDirection,
   47 					  HPDF_REAL       value,
   48 					  const char*     unitsString
   49 					  );
   50 
   51 
   52 #ifdef __cplusplus
   53 }
   54 #endif /* __cplusplus */
   55 
   56 #endif /* _HPDF_3DMEASURE_H */
   57