![]() |
AIGroupSuite Struct Reference
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
Public Attributes | |
| AIAPI AIErr(* | GetGroupClipped )(AIArtHandle group, AIBoolean *clipped) |
Reports whether a group is marked as a clipping group; that is, kArtIsClipMask is set for the group. | |
| AIAPI AIErr(* | SetGroupClipped )(AIArtHandle group, AIBoolean clipped) |
Marks or unmarks a group as a clipping group; that is, sets or clears kArtIsClipMask for the group. | |
| AIAPI AIErr(* | GetGroupMaskLock )(AIArtHandle group, AIBoolean *maskLocked) |
| Obsolete. | |
| AIAPI AIErr(* | SetGroupMaskLock )(AIArtHandle group, AIBoolean maskLocked) |
| Obsolete. | |
| AIAPI AIErr(* | NormalizeCompoundPath )(AIArtHandle compound, AINormalizeCompoundPathAlgorithm algorithm) |
| Normalizes the components of a compound path; that is, it sorts the members such that the object that appears to be on the outside is in the back of the paint order, with the points ordered so that the path does not appear reversed in the Attributes palette. | |
This suite provides functions for working with clipping and compound paths in art group objects.
An art object of type kGroupArt is an ordered collection of art objects.typically created with the Group command. The group as a whole can have a style or transparency blending attributes which affect the rendering of its contents.
In a clip group, one or more of the members is a clipping object (that is, an art object with the kArtIsClipMask flag set, which defines a clip path). The intersection of the clip paths is used to clip the rendering of the other objects (clipped objects) in the group.
An art object of type kCompoundPathArt is a group whose members are other groups and path objects.
AIArtSuite for additional artwork group functionality, such as traversing a group's children and reordering its contents.SPBasicSuite::AcquireSuite() with the constants kAIGroupSuite and kAIGroupVersion. | AIAPI AIErr(* AIGroupSuite::GetGroupClipped)(AIArtHandle group, AIBoolean *clipped) |
Reports whether a group is marked as a clipping group; that is, kArtIsClipMask is set for the group.
Use AIArtSuite::GetArtUserAttr() to determine which members of the group (if any) are clipping objects.
| group | The art group object. | |
| clipped | [out] A buffer in which to return true if the group is marked as a clipping group. |
| AIAPI AIErr(* AIGroupSuite::GetGroupMaskLock)(AIArtHandle group, AIBoolean *maskLocked) |
Obsolete.
Always returns true.
| AIAPI AIErr(* AIGroupSuite::NormalizeCompoundPath)(AIArtHandle compound, AINormalizeCompoundPathAlgorithm algorithm) |
Normalizes the components of a compound path; that is, it sorts the members such that the object that appears to be on the outside is in the back of the paint order, with the points ordered so that the path does not appear reversed in the Attributes palette.
The paths that define "holes" in the figure are stacked in a defined order.
The stacking order of a compound path does not affect how it is filled. Normalizing does not modify the fill area. It does provide these benefits:
This is especially important for Type Outlines, because fonts are typically designed with the holes in the back, causing blends between single outline and multiple outline characters to match the single path of the one-path character to an inner path of the multiple-path character.
| compound | The compound path object. | |
| algorithm | The normalization algorithm to use. |
| AIAPI AIErr(* AIGroupSuite::SetGroupClipped)(AIArtHandle group, AIBoolean clipped) |
Marks or unmarks a group as a clipping group; that is, sets or clears kArtIsClipMask for the group.
Use AIArtSuite::SetArtUserAttr() to mark clipping for individual contained paths.
| group | The art group object. | |
| clipped | True to turn clipping on for the group, false to turn clipping off. |
| AIAPI AIErr(* AIGroupSuite::SetGroupMaskLock)(AIArtHandle group, AIBoolean maskLocked) |
Obsolete.
| Contents | Suites | Classes | Class Index | Member Index |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||