CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
GsDefs.h File Reference
#include "TD_PackPush.h"
#include "OdRound.h"
#include "Ge/GePoint2d.h"
#include "TD_PackPop.h"

Go to the source code of this file.

Classes

class  OdGsDCPoint
 
class  OdGsDCRect
 
class  OdGsDCRectDouble
 

Macros

#define SCALAR_MIN   (-2147483647 - 1)
 
#define SCALAR_MAX   2147483647
 
#define GETBITNEG(flags, bit)   (((flags) & (bit)) != (bit))
 

Typedefs

typedef voidOdGsWindowingSystemID
 

Enumerations

enum  EMetafilePlayMode { kMfDisplay , kMfSelect , kMfNested , kMfExtents }
 

Functions

template<class TRect >
void intersectWith (TRect &dcRectThis, const TRect &dcRect, bool bValidate=true)
 
template<class TRect , class T >
void offset (TRect &dcRectThis, T x, T y)
 

Macro Definition Documentation

◆ GETBITNEG

#define GETBITNEG (   flags,
  bit 
)    (((flags) & (bit)) != (bit))

Definition at line 528 of file GsDefs.h.

◆ SCALAR_MAX

#define SCALAR_MAX   2147483647

Definition at line 38 of file GsDefs.h.

◆ SCALAR_MIN

#define SCALAR_MIN   (-2147483647 - 1)

Definition at line 37 of file GsDefs.h.

Typedef Documentation

◆ OdGsWindowingSystemID

This data type represents a window handle, analogue of Windows window – HWND

Definition at line 509 of file GsDefs.h.

Enumeration Type Documentation

◆ EMetafilePlayMode

Represents metafile play mode.

Enumerator
kMfDisplay 

Play for visualization. Default, valid for all metafile types.

kMfSelect 

Play as geometry for selection. Valid only if metafile can be played as OdGiConveyorGeometry ( if useMetafileAsGeometry() returns true).

kMfNested 

Play data of nested metafiles only. Valid only if metafile can be played as OdGiConveyorGeometry ( if useMetafileAsGeometry() returns true).

kMfExtents 

Play as geometry for extents calculation. Valid only if metafile can be played as OdGiConveyorGeometry ( if useMetafileAsGeometry() returns true).

Definition at line 514 of file GsDefs.h.

Function Documentation

◆ intersectWith()

template<class TRect >
void intersectWith ( TRect &  dcRectThis,
const TRect &  dcRect,
bool  bValidate = true 
)

Definition at line 475 of file GsDefs.h.

◆ offset()

template<class TRect , class T >
void offset ( TRect &  dcRectThis,
x,
y 
)

Definition at line 497 of file GsDefs.h.