![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file. 1 #ifndef __UTIL_DTK_OLE_OBJECT_HPP__
2 #define __UTIL_DTK_OLE_OBJECT_HPP__
13 #define DTK_OLE_OBJECT_INFO_KEY_FROM_OLE_OBJECT "Dtk_FromOLEObject"
This is the Transformation dedicated class.
Definition: dtk_transfo.hpp:19
@ _typeID
Definition: dtk_oleobject.hpp:50
Dtk_OLEObject(const Dtk_OLEObject &o)
Copy Constructor.
void SetViewingAspect(const Dtk_OLEObjectViewingAspect &inNewAspect)
Set the way the OLE Object should be displayed at screen.
const Dtk_string const Dtk_transfo & inTransfo
Definition: catiav5w.hpp:619
This is a high level string class.
Definition: dtk_string.hpp:58
size_t Dtk_Size_t
Definition: define.h:712
~Dtk_OLEObject()
Destructor.
@ OLE_ASPECT_CONTENT
Definition: dtk_oleobject.hpp:26
double Dtk_Double64
Definition: define.h:699
Dtk_OLEObject & operator=(const Dtk_OLEObject &inToBeAssigned)
Assignment Operator.
Dtk_Oriented2dBBox & GetPlacement()
Returns the position and orientation of the OLE Object in space.
static Dtk_string Dtk_OLEObjectViewingAspectToString(const Dtk_OLEObjectViewingAspect &inEnum)
Definition: dtk_oleobject.hpp:32
Dtk_OLEObjectViewingAspect
Definition: dtk_oleobject.hpp:24
static Dtk_OLEObjectPtr Create(const Dtk_OLEObject &inToBeCopied)
Copy constructor.
This is the Dtk_OLEObject Class. The Dtk_OLEObject object is used to store any informations about Obj...
Definition: dtk_oleobject.hpp:21
virtual Dtk_Object * Clone()
Definition: dtk_oleobject.hpp:65
Dtk_Handle * _Private
Definition: dtk_oleobject.hpp:46
void SetScale(const Dtk_Double64 &inNewScale)
Set the scale that is applied to the OLE Object.
int32_t Dtk_Int32
Definition: define.h:687
const Dtk_Char8 *const GetBinaryContent() const
Returns the OLE Object data size.
void SetPlacement(const Dtk_Oriented2dBBox &inNewPlacement)
Set the position and orientation of the OLE Object in space.
Dtk_Int32 DtkDynamicType(const Dtk_Int32 &inId)
Retrieves the dynamic entity type.
char Dtk_Char8
Definition: define.h:697
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Definition: util_ptr_dtk.hpp:37
Dtk_ErrorStatus ExtractPreviewPicture(Dtk_picturePtr &outPreviewPicture) const
Extract the currently displayed picture from the OLE Object.
static Dtk_OLEObjectPtr Create(const Dtk_Char8 *const binaryContent, const Dtk_Size_t &binaryContentSize, const Dtk_Oriented2dBBox &positioning, const Dtk_OLEObjectViewingAspect viewingAspect, const Dtk_Double64 &scale=1)
Create a Dtk_OLEObjectPtr.
@ OLE_ASPECT_ICON
Definition: dtk_oleobject.hpp:28
type_detk
Definition: define.h:32
static Dtk_OLEObject * DtkDynamicCast(Dtk_Object *o)
Performs a dynamic cast - doesn't need RTTI -.
@ DTK_TYPE_OLE_OBJECT
Definition: define.h:617
@ OLE_ASPECT_UNKNOWN
Definition: dtk_oleobject.hpp:25
Dtk_Double64 GetScale() const
Returns the scale that is applied to the OLE Object.
const Dtk_Size_t GetBinaryContentSize() const
Returns the OLE Object data.
type_detk get_type_detk() const
Definition: dtk_oleobject.hpp:99
Definition: dtk_object.hpp:8
Dtk_OLEObjectViewingAspect GetViewingAspect() const
Returns the way the OLE Object should be displayed at screen.
Dtk_OLEObject(const Dtk_Char8 *const binaryContent, const Dtk_Size_t &binaryContentSize, const Dtk_Oriented2dBBox &placement, const Dtk_OLEObjectViewingAspect viewingAspect, const Dtk_Double64 &scale=1)
Base Constructor.
void SetBinaryContent(const Dtk_Char8 *const inNewContent, const Dtk_Size_t inNewContentSize)
Set the OLE Object data.
This is the base bounding box class. It's used into a lot of 2D Entities This class represents the ba...
Definition: util_draw_dtk.hpp:479
Dtk_ErrorStatus Transform(const Dtk_transfo &inTransfo)
Applies a transformation matrix to the entity. //!
const Dtk_Oriented2dBBox & GetPlacement() const
Returns the position and orientation of the OLE Object in space.