This commit is contained in:
ninja
2025-12-15 23:22:33 +08:00
parent 019570564b
commit 8782765fbc
809 changed files with 118753 additions and 18289 deletions

View File

@@ -1,6 +1,6 @@
/***********************************************************************************************************************
*
* Copyright (c) 2010 - 2022 by Tech Soft 3D, Inc.
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
@@ -16,6 +16,7 @@
#define INITIALIZE_A3D_API
#define HOOPS_PRODUCT_PUBLISH_ADVANCED
#include <A3DSDKIncludes.h>
#include <hoops_license.h>
#include "../common.hpp"
#include "../CommonInit.h"
@@ -200,7 +201,7 @@ A3DStatus stCreateRelationship(A3DPDFDocument* pDoc, std::vector< std::pair <siz
A3DStatus AddViewCarousel(A3DPDFDocument* pDoc, A3DPDFPage* pPage,
int iLeftCarou,
int iBottomCarou,
int iHeigthCarousel,
int iHeightCarousel,
int iWidthCarouButtonPrevNext,
int iWidthCarouButton,
int iHorizMargin,
@@ -271,7 +272,7 @@ A3DStatus AddViewCarousel(A3DPDFDocument* pDoc, A3DPDFPage* pPage,
// buttons insertions
// coordinates are from bottom left of the page
int iTopCarou = iBottomCarou+iHeigthCarousel;
int iTopCarou = iBottomCarou+iHeightCarousel;
sPos.m_iLeft = iLeftCarou; // lower left x
sPos.m_iBottom = iBottomCarou; // lower left y
sPos.m_iRight = sPos.m_iLeft+iWidthCarouButtonPrevNext; // upper right x
@@ -655,7 +656,7 @@ A3DStatus BuildPDFDocument()
CHECK_RET(AddViewCarousel(pDoc, pPage,
2, // iLeftCarou
34, // iBottomCarou
113, // iHeigthCarousel
113, // iHeightCarousel
56, // iWidthCarouButtonPrevNext
129, // iWidthCarouButton
5, // iHorizMargin
@@ -778,7 +779,7 @@ int main(int, A3DUTF8Char**)
#endif
// init A3DLIB library - automatically handled init/terminate
A3DSDKHOOPSPublishLoader sHoopsPublishLoader(_T(HOOPS_BINARY_DIRECTORY));
A3DSDKHOOPSPublishLoader sHoopsPublishLoader(_T(HOOPS_BINARY_DIRECTORY), HOOPS_LICENSE);
CHECK_RET(sHoopsPublishLoader.m_eSDKStatus);
A3DDllSetCallbacksMemory(CheckMalloc, CheckFree);