24#ifndef __ODGIPSDEFS_H__
25#define __ODGIPSDEFS_H__
61 double m_dashLength[10];
103 volatile bool m_bIsInit[4];
221 void internalDebugMe();
346 void internalDebugMe()
const;
ODGI_EXPORT OdGiPsLinetypes & odgiGetPsLinetypesManager(OdUInt32 nDefs=OdGiPsLinetypes::kPsDefs)
ODGI_EXPORT OdGiPsFillstyles & odgiGetPsFillstylesManager()
bool fsRigth(OdPs::FillStyle fs) const
const PsFillstyleGDI * getGDIDefinitions() const
const OdHatchPattern * getGiDefinitions(OdHatchPattern *pPats, double scale, OdUInt32 nFirst=OdPs::kFsSolid+1, OdUInt32 nPats=OdPs::kFsLast - OdPs::kFsSolid - 1) const
OdGiRasterImagePtr internalMakeImage(const OdUInt8 *pPixels, OdUInt32 nWidth, OdUInt32 nHeight, ODCOLORREF backgroundColor=ODRGB(0, 0, 0), ODCOLORREF foregroundColor=ODRGB(255, 255, 255)) const
OdGiRasterImagePtr rasterizeFillstyleImage(OdPs::FillStyle psFs, OdUInt32 nOffsetX=0, OdUInt32 nOffsetY=0, OdUInt32 nWidth=32, OdUInt32 nHeight=32, ODCOLORREF backgroundColor=ODRGB(0, 0, 0), ODCOLORREF foregroundColor=ODRGB(255, 255, 255)) const
const PsFillstyleGDI & getGDIDefinition(OdPs::FillStyle psFs) const
const PsFillstyleOGL * getOpenGLDefinitions() const
const OdHatchPattern & getGiDefinition(OdPs::FillStyle psFs, OdHatchPattern &pPat, double scale) const
OdUInt8Array rasterizeFillstyle(OdPs::FillStyle psFs, OdUInt32 nOffsetX=0, OdUInt32 nOffsetY=0, OdUInt32 nWidth=32, OdUInt32 nHeight=32, OdUInt8 fpValue=0xFF) const
const PsFillstyleOGL & getOpenGLDefinition(OdPs::FillStyle psFs) const
void internalFillHatchDef(OdPs::FillStyle psFs, OdHatchPattern &pPat, double scale) const
OdUInt32 fsCorr(OdPs::FillStyle fs) const
void internalInitOpenGLLinetypes()
const PsLinetypeDef * getPsDefinitions() const
const OdArray< OdGiLinetype > & getGiDefinitions() const
const PsLinetypeGDI & getGDIDefinition(OdPs::LineType psLtp) const
OdUInt8Array rasterizeLinetype(OdPs::LineType psLtp, OdUInt32 numRepititions=1, OdUInt8 ltpValue=0xFF) const
const PsLinetypeOGL * getOpenGLDefinitions() const
const PsLinetypeOGL & getOpenGLDefinition(OdPs::LineType psLtp) const
OdArray< OdGiLinetype > m_giLinetypeDefs
const OdGiLinetype & getGiDefinition(OdPs::LineType psLtp) const
OdGiPsLinetypes(bool bInitialize=true, OdUInt32 nDefs=kGiDefs|kGDIDefs|kOpenGLDefs)
void uninitialize(OdUInt32 nDefs=kPsDefs|kGiDefs|kGDIDefs|kOpenGLDefs)
const PsLinetypeDef & getPsDefinition(OdPs::LineType psLtp) const
const PsLinetypeGDI * getGDIDefinitions() const
OdGiRasterImagePtr rasterizeLinetypeImage(OdPs::LineType psLtp, OdUInt32 numRepititions=1, OdUInt32 numLevels=1, ODCOLORREF backgroundColor=ODRGB(0, 0, 0), ODCOLORREF foregroundColor=ODRGB(255, 255, 255)) const
OdGiRasterImagePtr internalMakeImage(const OdUInt8 *pPixels, OdUInt32 nWidth, OdUInt32 numLevels=1, ODCOLORREF backgroundColor=ODRGB(0, 0, 0), ODCOLORREF foregroundColor=ODRGB(255, 255, 255)) const
void initialize(OdUInt32 nDefs=kPsDefs)
bool isInitialized(OdUInt32 nDefs=kPsDefs) const
void internalInitGDILinetypes()
void internalInitGiLinetypes()
double patternLength() const
OdUInt32 patternLength() const