CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
GiBaseVectorizer.h File Reference
#include "Gi/GiDrawImpl.h"
#include "Gs/Gs.h"
#include "Ge/GeExtents3d.h"
#include "Gi/GiViewport.h"
#include "Gi/GiXform.h"
#include "Gi/GiModelToViewProc.h"
#include "Gi/GiConveyorEntryPoint.h"
#include "Gi/GiConveyorConnector.h"
#include "Gi/GiDeviation.h"
#include "Ge/GePlane.h"
#include "Gi/GiDgLinetype.h"
#include "Gi/GiOrthoClipper.h"
#include "Gi/GiExtAccum.h"
#include "Gi/GiSubEntityTraitsData.h"
#include "Gi/GiTextStyle.h"
#include "Gi/GiLayerTraitsData.h"
#include "Gi/GiMaterialTraitsData.h"
#include "Gi/GiTraitsCache.h"
#include "Gi/GiDummyGeometry.h"
#include "TD_PackPush.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdGiWorldDrawImpl
 
class  OdGiBaseVectorizer
 
struct  OdGiBaseVectorizer::LayerTraitsCache
 
class  OdGiExtCalc
 

Macros

#define ENABLE_GITRAITSOPTIMIZATION
 

Typedefs

typedef OdSmartPtr< OdGiFillOdGiFillPtr
 

Functions

ODGI_EXPORT void odgiCalculateTextBasis (OdGeVector3d &u, OdGeVector3d &v, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, bool bMirrorX=false, bool bMirrorY=false)
 
ODGI_EXPORT const OdGiTextStyleodgiPrepareTextStyle (const OdGiTextStyle *pStyle, OdGiTextStyle &res)
 
ODGI_EXPORT size_t odgiGetTextExtentsCacheCapacity ()
 
ODGI_EXPORT void odgiSetTextExtentsCacheCapacity (size_t size)
 

Macro Definition Documentation

◆ ENABLE_GITRAITSOPTIMIZATION

#define ENABLE_GITRAITSOPTIMIZATION

Definition at line 62 of file GiBaseVectorizer.h.

Typedef Documentation

◆ OdGiFillPtr

Definition at line 57 of file GiBaseVectorizer.h.

Function Documentation

◆ odgiCalculateTextBasis()

ODGI_EXPORT void odgiCalculateTextBasis ( OdGeVector3d u,
OdGeVector3d v,
const OdGeVector3d normal,
const OdGeVector3d direction,
double  height,
double  width,
double  oblique,
bool  bMirrorX = false,
bool  bMirrorY = false 
)

Calculates u and v parameters of the text by the specified parameters.

Parameters
u[out] u-parameter to calculate.
v[out] v-parameter to calculate.
normal[in] Normal to a text.
direction[in] Direction of a text.
height[in] Text height.
width[in] Text width.
oblique[in] Oblique angle. Must not exceed an equivalent of 85 degrees in radians in both directions.
bMirrorX[in] Flag that specifies whether u parameter should be negated.
bMirrorY[in] Flag that specifies whether v parameter should be negated.

◆ odgiGetTextExtentsCacheCapacity()

ODGI_EXPORT size_t odgiGetTextExtentsCacheCapacity ( )

◆ odgiPrepareTextStyle()

ODGI_EXPORT const OdGiTextStyle * odgiPrepareTextStyle ( const OdGiTextStyle pStyle,
OdGiTextStyle res 
)

Copies text style parameters from the pStyle parameter to the res parameter and set additional parameters for the copied style.

Parameters
pStyle[in] Pointer to a text style.
res[in] v-parameter to calculate.
Remarks
Additional text style methods that are used to set properties for the copied text style:
setObliquingAngle(0.) setTextSize(1.) setUpsideDown(false) setXScale(1.)

◆ odgiSetTextExtentsCacheCapacity()

ODGI_EXPORT void odgiSetTextExtentsCacheCapacity ( size_t  size)