Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
#include <ilviews/base/iostream.h>
#include <ilviews/util/util.h>
#include <ilviews/base/region.h>
#include <ilviews/base/clssinfo.h>
#include <ilviews/graphics/io.h>
#include <ilviews/intrface/value.h>
#include <ilviews/util/im.h>
#include <ilviews/util/proplist.h>
#include <ilviews/bidi/interf.h>
Classes | |
class | IlvGradientGraphicBBoxManager |
Graphic class. More... | |
class | IlvGraphic |
Graphic class. More... | |
class | IlvSimpleGraphic |
Graphic class. More... | |
Macros | |
#define | DeclareGraphicAccessors() |
Declares accessors-related methods for an IlvGraphic subtype. More... | |
#define | DeclareIOConstructors(classname) |
Declares persistence-related constructors for an IlvGraphic subtype. More... | |
#define | DeclareTypeInfo() |
Declares class information related member functions for an IlvGraphic subtype. More... | |
#define | DeclareTypeInfoRO() |
Declares class information related member functions for an IlvGraphic subtype that has no write() . More... | |
#define | IlvPredefinedIOMembers(classname) |
Defines persistence-related member functions. More... | |
#define | IlvRegisterClass(classname, superclass) |
Registers a new IlvGraphic subclass. More... | |
Typedefs | |
typedef void(* | IlvApplyObject) (IlvGraphic *graphic, IlAny userArg) |
typedef IlvApplyObject | IlvGraphicCallback |
Library: views
Declaration of the IlvGraphic
and IlvSimpleGraphic
classes.
#define DeclareGraphicAccessors | ( | ) |
Declares accessors-related methods for an IlvGraphic
subtype.
This macro declares the required methods to make any graphic class accessible from a scripting language. This macro is equivalent to the lines:
DeclareTypeInfo()
. #define DeclareIOConstructors | ( | classname | ) |
Declares persistence-related constructors for an IlvGraphic
subtype.
This macro declares two constructors in a class declaration for any graphic class. These constructors make it easier to create subclasses of IlvGraphic
.
className is the name of the graphic class.
This macro is equivalent to the lines:
DeclareTypeInfo()
. #define DeclareTypeInfo | ( | ) |
Declares class information related member functions for an IlvGraphic
subtype.
This macro is similar to the DeclareTypeInfoRO()
macro, except that it adds the declaration of the member function write()
:
DeclareTypeInfoRO()
. #define DeclareTypeInfoRO | ( | ) |
Declares class information related member functions for an IlvGraphic
subtype that has no write()
.
DeclareTypeInfo()
. #define IlvPredefinedIOMembers | ( | classname | ) |
Defines persistence-related member functions.
This macro to define the member functions copy()
and read()
of a subclass of IlvGraphic
.
This macro must be used in the implementation file, outside any function definition block, just like IlvRegisterClass()
.
It is equivalent to:
DeclareIOConstructors()
.classname | The name of the graphic class. |
#define IlvRegisterClass | ( | classname, | |
superclass | |||
) |
Registers a new IlvGraphic
subclass.
When you define a subtype of IlvGraphic
, if you want to be able to save and restore instances of this class you must redefine the read()
and write()
functions of IlvGraphic
and register the new class by means of this macro.
This macro must be used in the implementation file, outside any function definition block.
The arguments are C++ identifiers specifying a C++ class and its superclass. For example, the line IlvRegisterClass(IlvSimpleGraphic, IlvGraphic);
registers the fact that the IlvSimpleGraphic
class is a subclass of the IlvGraphic
class.
IlvApplyObject |
This type defines the signatures of functions that are called by member functions that can apply transformations to graphic objects.
graphic | The graphic object that the function applies to. |
userArg | The user parameter that was provided to the member function that calls this function. |
IlvGraphic::apply()
, IlvContainer::applyToObject()
, IlvContainer::applyToObjects()
, IlvContainer::applyToTaggedObjects()
, IlvManager::applyToObject()
, IlvManager::applyToObjects()
, IlvManager::applyToTaggedObjects()
, IlvManager::applyToSelections()
. A synonym for IlvApplyObject
.
This type defines the signature of all callbacks that apply to graphic objects.
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.