60 kImageFrameInvalid = -1,
65 kImageFrameOnNoPlot = 3
70 kImageQualityInvalid = -1,
71 kImageQualityDraft = 0,
243 OdString AcDbRasterVariables(L
"AcDbRasterVariables");
246 pRastVars = ::odrxCastByClassName<OdDbRasterVariables>(pRootDict->getAt(ACAD_IMAGE_VARS, &res).openObject(mode), AcDbRasterVariables);
247 if (res == eKeyNotFound) {
248 pRootDict->upgradeOpen();
249 pRastVars = ::odrxSafeCreateObject<OdDbRasterVariables>(AcDbRasterVariables);
252 switch (pDatabase->getINSUNITS()) {
318 pRastVars->setUserScale(units);
319 pRootDict->setAt(ACAD_IMAGE_VARS, pRastVars);
321 pRastVars->downgradeOpen();
OdSmartPtr< OdDbRasterVariables > OdDbRasterVariablesPtr
OdDbObjectId getNamedObjectsDictionaryId() const
OdResult openObject(OdDbObjectPtr &pObj, OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
virtual FrameSettings imageFrame() const
ODDB_DECLARE_MEMBERS(OdDbRasterVariables)
static OdDbRasterVariablesPtr openRasterVariables(OdDbDatabase *pDb, OdDb::OpenMode openMode=OdDb::kForRead)
virtual OdDbRasterImageDef::Units userScale() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual ImageQuality imageQuality() const
virtual void setUserScale(OdDbRasterImageDef::Units units)
virtual void setImageQuality(ImageQuality imageQuality)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setImageFrame(FrameSettings imageFrame)