b311480e |
1 | // Created on: 1994-10-18 |
2 | // Created by: Laurent BOURESCHE |
3 | // Copyright (c) 1994-1999 Matra Datavision |
4 | // Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | // |
6 | // The content of this file is subject to the Open CASCADE Technology Public |
7 | // License Version 6.5 (the "License"). You may not use the content of this file |
8 | // except in compliance with the License. Please obtain a copy of the License |
9 | // at http://www.opencascade.org and read it completely before using this file. |
10 | // |
11 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | // |
14 | // The Original Code and all software distributed under the License is |
15 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | // Initial Developer hereby disclaims all such warranties, including without |
17 | // limitation, any warranties of merchantability, fitness for a particular |
18 | // purpose or non-infringement. Please see the License for the specific terms |
19 | // and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | |
23 | #include <Standard_Boolean.hxx> |
24 | |
25 | #ifndef __AppBlend_API |
26 | # if defined(WNT) && !defined(HAVE_NO_DLL) |
27 | # ifdef __AppBlend_DLL |
28 | # define __AppBlend_API __declspec( dllexport ) |
29 | # else |
30 | # define __AppBlend_API __declspec( dllimport ) |
31 | # endif /*__AppBlend_DLL*/ |
32 | # else |
33 | # define __AppBlend_API |
34 | # endif /*WNT*/ |
35 | #endif /*__AppBlend_API*/ |
36 | |
37 | //**************************************************** |
0d969553 |
38 | // Functions to change the type of approx. |
7fd59977 |
39 | //**************************************************** |
40 | |
41 | static Standard_Boolean AppBlend_ContextSplineApprox = Standard_False; |
42 | __AppBlend_API extern void AppBlend_SetContextSplineApprox(const Standard_Boolean b) |
43 | { AppBlend_ContextSplineApprox = b; } |
44 | __AppBlend_API extern Standard_Boolean AppBlend_GetContextSplineApprox() |
45 | { return AppBlend_ContextSplineApprox; } |
46 | |
47 | static Standard_Boolean AppBlend_ContextApproxWithNoTgt = Standard_False; |
48 | __AppBlend_API extern void AppBlend_SetContextApproxWithNoTgt(const Standard_Boolean b) |
49 | { AppBlend_ContextApproxWithNoTgt = b; } |
50 | __AppBlend_API extern Standard_Boolean AppBlend_GetContextApproxWithNoTgt() |
51 | { return AppBlend_ContextApproxWithNoTgt; } |