![]() | InDesign SDK 20.5 |
#include <ITextAttrScalableMeasure.h>

Public Types | |
| enum | { kDefaultIID = IID_ITEXTATTRSCALABLEMEASURE } |
Public Member Functions | |
| virtual void | ScaleMeasure (AttributeBossList *attrList, PMReal xScale, PMReal yScale, bool16 isVertical, bool16 isVerticalWritingMode, bool16 scaleAffectsLineHeight) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface to scale a text attribute.
| pure virtual |
Attribute independent interface to scale a text attribute. The implementation should pick the appropriate arguments
(not all may apply), scale the attribute and add it to the attrList.
| attrList | INOUT The list of attributes to which the scaled attribute should be applied. |
| xScale | IN Scale in the x-direction. |
| yScale | IN Scale in the y-direction. |
| isVertical | IN Does the STORY text flow vertically? I.e. does the main text flow vertically? |
| isVerticalWritingMode | IN Does THIS text flow vertically? Some text, although in a vertical story, may actually be horizontally drawn. (c.f. TCY). |
| scaleAffectsLineHeight | IN Should the scale affect the line height, when appropriate? |