typedef OPAQUE_64_BITS PDBead;
PDPage PDBeadAcquirePage(PDBead bead, PDDoc pdDoc);
bead | IN/OUT The bead whose page is acquired.
|
pdDoc | IN/OUT The document in which bead is located.
|
void PDBeadDestroy(PDBead bead);
bead | IN/OUT The bead to destroy.
|
ASBool PDBeadEqual(PDBead bead, PDBead bead2);
bead | The first bead to compare.
|
bead2 | The second bead to compare.
|
true if the two beads are identical, false otherwise. Two beads are equal only if their Cos objects are equal (see CosObjEqual()). PDBead PDBeadFromCosObj(CosObj obj);
obj | The dictionary Cos object whose bead is obtained.
|
is raised if the bead is not valid, as determined by PDBeadIsValid().
|
CosObj PDBeadGetCosObj(PDBead bead);
bead | IN/OUT The bead whose Cos object is obtained.
|
NULL Cos object if PDBeadIsValid(bead) returns false. ASInt32 PDBeadGetIndex(PDBead bead);
bead | IN/OUT The bead whose index is obtained.
|
PDBead PDBeadGetNext(PDBead bead);
bead | IN/OUT The bead for which the next bead is obtained.
|
NULL Cos object (cast to a PDBead using PDBeadFromCosObj()). On the last bead, PDBeadGetNext() returns the first bead. PDBead PDBeadGetPrev(PDBead bead);
bead | IN/OUT The bead for which the previous bead is obtained.
|
NULL Cos object (cast to a PDBead using PDBeadFromCosObj()) if this is the first bead in the thread. void PDBeadGetRect(PDBead bead, ASFixedRectP rectP);
bead | IN/OUT The bead whose bounding rectangle is obtained.
|
rectP | IN/OUT (Filled by the method) A pointer to a ASFixedRect specifying the bead's bounding rectangle, specified in user space coordinates.
|
PDThread PDBeadGetThread(PDBead bead);
bead | IN/OUT The bead whose thread is obtained.
|
NULL Cos object if the bead does not belong to a thread. void PDBeadInsert(PDBead bead, PDBead newNext);
bead | IN/OUT The bead after which newNext will be inserted.
|
newNext | IN/OUT The bead to insert.
|
ASBool PDBeadIsValid(PDBead bead);
bead | The bead whose validity is tested.
|
PDBead PDBeadNew(PDPage page, const ASFixedRectP destRect);
page | The page on which the bead is created.
|
destRect | A pointer to a ASFixedRect specifying the bead's bounding rectangle, specified in user space coordinates.
|
void PDBeadSetPage(PDBead bead, PDPage newPage);
bead | IN/OUT The bead whose page is set.
|
newPage | IN/OUT The page on which bead is located.
|
void PDBeadSetRect(PDBead bead, const ASFixedRectP newDestRect);
bead | IN/OUT The bead whose bounding rectangle is set.
|
newDestRect | IN/OUT A pointer to a ASFixedRect specifying the bead's bounding rectangle, specified in user space coordinates.
|