#include <w32std.h>
| class TWsGraphicId |
| Public Member Enumerations | |
|---|---|
| enum | TUninitialized { EUninitialized } |
| Public Member Functions | |
|---|---|
| TWsGraphicId(TUninitialized) | |
| TWsGraphicId(TUid) | |
| TWsGraphicId(TInt) | |
| TWsGraphicId(const TWsGraphicId &) | |
| IMPORT_C TInt | Compare(const TWsGraphicId &) |
| IMPORT_C TInt | Id() |
| IMPORT_C TBool | IsId() |
| IMPORT_C TBool | IsUid() |
| IMPORT_C void | Set(TUid) |
| IMPORT_C void | Set(TInt) |
| IMPORT_C TUid | Uid() |
Identifies an abstract artwork
This is a piece of artwork that might be owned and authored by another process. A client can draw a piece of artwork, but that doesn't confer the ability to access the pixel representation of that artwork directly.
| IMPORT_C | TWsGraphicId | ( | const TWsGraphicId & | aCopy | ) |
Copy constructor.
| Parameter | Description |
|---|---|
| aCopy | Graphic artwork Id. |
| IMPORT_C TInt | Compare | ( | const TWsGraphicId & | aOther | ) | const |
Compares another Id with this one.
Returns: 0 if the other Id is identical, else -1 if the other Id is to greater than or 1 if the other Id is less than
| IMPORT_C TInt | Id | ( | ) | const |
Returns the transient Id.
Returns: Id of transient graphic artwork. Zero if graphic artwork is non-transient.
| IMPORT_C TBool | IsId | ( | ) | const |
Identifies whether graphic artwork is transient.
Returns: ETrue if graphic artwork is transient.
| IMPORT_C TBool | IsUid | ( | ) | const |
Identifies whether graphic artwork is non-transient.
Returns: ETrue if graphic artwork is non-transient.
| IMPORT_C TUid | Uid | ( | ) | const |
Returns UID.
Returns: UID of graphic artwork. KNullUid if graphic artwork is transient.