CFx SDK Documentation 2024 SP0
|
#include <GiEnvironment.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiImageBackgroundTraits) | |
virtual void | setImageFilename (const OdString &filename)=0 |
virtual const OdString & | imageFilename () const =0 |
virtual void | setFitToScreen (bool bFitToScreen)=0 |
virtual bool | fitToScreen () const =0 |
virtual void | setMaintainAspectRatio (bool bMaintainAspectRatio)=0 |
virtual bool | maintainAspectRatio () const =0 |
virtual void | setUseTiling (bool bUseTiling)=0 |
virtual bool | useTiling () const =0 |
virtual void | setXOffset (double xOffset)=0 |
virtual double | xOffset () const =0 |
virtual void | setYOffset (double yOffset)=0 |
virtual double | yOffset () const =0 |
virtual void | setXScale (double xScale)=0 |
virtual double | xScale () const =0 |
virtual void | setYScale (double yScale)=0 |
virtual double | yScale () const =0 |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class represents traits that are related to the image-based backgrounds.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1399 of file GiEnvironment.h.
|
pure virtual |
Checks whether image-based background should be fit to screen.
|
pure virtual |
Retrieves image file name.
|
pure virtual |
Checks whether image-based background maintains aspect ratio.
OdGiImageBackgroundTraits::ODRX_DECLARE_MEMBERS | ( | OdGiImageBackgroundTraits | ) |
|
pure virtual |
Specifies whether image-based background should be fit to screen.
bFitToScreen | [in] Flag that specifies whether to fit this background to screen. |
Specifies image file name.
filename | [in] Full path to an image file. |
|
pure virtual |
Specifies whether image-based background should maintain aspect ratio. Usually called together with setFitToScreen() methods or other methods which can modify background dimensions.
bMaintainAspectRatio | [in] Flag that specifies whether to maintain aspect ratio of a background image. |
|
pure virtual |
Specifies whether to tile image-based background.
bUseTiling | [in] Flag that specifies whether to tile image-based background. |
|
pure virtual |
Specifies offset of a background on the x-axis.
xOffset | [in] Offset distance. Negative values mean that background is offset in the opposite direction of x-axis. |
|
pure virtual |
Specifies scale of a background on the x-axis.
xScale | [in] Scale factor for the x-axis. |
|
pure virtual |
Specifies offset of a background on the y-axis.
yOffset | [in] Offset distance. Negative values mean that background is offset in the opposite direction of y-axis. |
|
pure virtual |
Specifies scale of a background on the y-axis.
yScale | [in] Scale factor for the y-axis. |
|
pure virtual |
Checks whether image-based background is tiled.
|
pure virtual |
Retrieves offset of a background on the x-axis.
|
pure virtual |
Retrieves scale of a background on the x-axis.
|
pure virtual |
Retrieves offset of a background on the y-axis.
|
pure virtual |
Retrieves scale of a background on the y-axis.