The CogOCVMaxFontRenderParams type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| BackgroundGrey | The background greyscale value to be used in rendering the space surrounding some text. This property is ignored by those operations that do not actually draw into a pelbuffer. | |
| ChangedEventSuspended |
If nonzero, indicates that the raising of the Changed event has been
suspended. This value is incremented when SuspendChangedEvent is called
and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogSerializableChangedEventBase.) | |
| CharacterSpacingAddedX | Add to the X-axis distance between one character origin and the origin of the next character on the same line. A positive value increases inter-character spacing, a negative value decreases inter-character spacing, and the default value 0.0 produces no change in rendered text. | |
| CharacterSpacingAddedY | Add to the Y-axis distance between one character origin and the origin of the next character on the same line. A non-zero value produces a staircase-like line of text, while the default value 0.0 produces no change in rendered text. This property is rarely used. | |
| ForegroundGrey | The foreground greyscale value to be used in rendering text. This property is ignored by those operations that do not actually draw into a pelbuffer. | |
| HasChanged | (Inherited from CogSerializableChangedEventBase.) | |
| ImagePelPadding | The number of pels of background to add to each side of some rendered text image. A value of zero means do not pad. | |
| LineSpacingAddedX | Add to the X-axis distance between one line origin and the origin of the next line in the same paragraph. A non-zero value produces a paragraph with lines staggered like a staircase, while the default value 0.0 produces no change in rendered text. This property is rarely used. | |
| LineSpacingAddedY | Add to the Y-Axis distance between one line origin and the origin of the next line in the same paragraph. A positive value increases inter-line spacing, a negative value decreases inter-line spacing, and the default value 0.0 produces no change in rendered text. | |
| SpotSizeScale | Scale (multiply) the rendered text spot size by this value. Ignored by fonts for which SpotSizeUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text. | |
| SpotSpacingScaleX | Scale (multiply) the spacing along the X axis of rendered text spots by this value. Ignored by fonts for which SpotSpacingUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text. | |
| SpotSpacingScaleY | Scale (multiply) the spacing along the Y axis of rendered text spots by this value. Ignored by fonts for which SpotSpacingUsed is false (e.g. outline fonts). The default value of 1.0 produces no change in rendered text. | |
| StateFlags |
Returns the complete set of state flags supported on this object. The
flags may be indexed by name as shown in the following C# code snippet:
if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.) | |
| StrokeWidthAdded | Add to the nominal stroke width of text for a given font using morphology. A positive value increases stroke width, a negative value decreases it, and the default value 0.0 produces no change in rendered text. This property is typically only useful with fonts for which SpotSizeScale does not apply, such as outline fonts. |
See Also