hpdf_3dmeasure.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * << Haru Free PDF Library >> -- hpdf_annotation.h
  3. *
  4. * URL: http://libharu.org
  5. *
  6. * Copyright (c) 1999-2006 Takeshi Kanno <[email protected]>
  7. * Copyright (c) 2007-2009 Antony Dovgal <[email protected]>
  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. #ifndef _HPDF_3DMEASURE_H
  18. #define _HPDF_3DMEASURE_H
  19. #include "hpdf_objects.h"
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /*----------------------------------------------------------------------------*/
  24. /*------ HPDF_3DMeasure -----------------------------------------------------*/
  25. HPDF_3DMeasure
  26. HPDF_3DC3DMeasure_New(HPDF_MMgr mmgr,
  27. HPDF_Xref xref,
  28. HPDF_Point3D firstanchorpoint,
  29. HPDF_Point3D textanchorpoint
  30. );
  31. HPDF_3DMeasure
  32. HPDF_PD33DMeasure_New(HPDF_MMgr mmgr,
  33. HPDF_Xref xref,
  34. HPDF_Point3D annotationPlaneNormal,
  35. HPDF_Point3D firstAnchorPoint,
  36. HPDF_Point3D secondAnchorPoint,
  37. HPDF_Point3D leaderLinesDirection,
  38. HPDF_Point3D measurementValuePoint,
  39. HPDF_Point3D textYDirection,
  40. HPDF_REAL value,
  41. const char* unitsString
  42. );
  43. #ifdef __cplusplus
  44. }
  45. #endif /* __cplusplus */
  46. #endif /* _HPDF_3DMEASURE_H */