2025.6.1
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user