VECTOR_TEXTRENDER

Summary

The VECTOR_TEXTRENDER enumeration allows the user to control how the vector toolkit renders text objects.

Syntax

typedef  enum  _VECTOR_TEXTRENDER 
{ 
   VECTOR_TEXTRENDER_ASTEXT, 
   VECTOR_TEXTRENDER_ASCURVES 
}  VECTOR_TEXTRENDER,  *pVECTOR_TEXTRENDER; 

Members

VECTOR_TEXTRENDER_ASTEXT

Render the text as text object.

VECTOR_TEXTRENDER_ASCURVES

Render the text as curves and lines.

Comments

pVECTOR_TEXTRENDER is a pointer to a VECTOR_TEXTRENDER enumeration. Where the function parameter type is pVECTOR_TEXTRENDER, you can declare a VECTOR_TEXTRENDER variable, update the enumerations fields, and pass the variable's address in the parameter. Declaring a pVECTOR_TEXTRENDER variable is necessary only if your program requires a pointer.

Setting the text rendering in the display options to VECTOR_TEXTRENDER_ASTEXT (default) means that the toolkit will draw the text objects as one unit. It can be useful when a text object with non-TT font is being used. VECTOR_TEXTRENDER_ASCURVES on the other hand forces the toolkit to break the text object into pieces and try to show it as a drawing.

IMPORTANT: Nothing guarantees that the toolkit will always apply this setting. Some situations should be handled in a way different from that specified by the user, so the toolkit handles them as needed, taking the user's settings into consideration.

Usage

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.