123456789101112131415161718192021222324252627282930313233343536 |
- /* Copyright (C) 2000 Aladdin Enterprises. All rights reserved.
-
- This software is provided AS-IS with no warranty, either express or
- implied.
-
- This software is distributed under license and may not be copied,
- modified or distributed except as expressly authorized under the terms
- of the license contained in the file LICENSE in this distribution.
-
- For more information about licensing, please refer to
- http://www.ghostscript.com/licensing/. For information on
- commercial licensing, go to http://www.artifex.com/licensing/ or
- contact Artifex Software, Inc., 101 Lucas Valley Road #110,
- San Rafael, CA 94903, U.S.A., +1(415)492-9861.
- */
- /* $Id: gxchrout.h,v 1.5 2002/06/16 08:45:43 lpd Exp $ */
- /* Shared procedures for outline character rendering */
- #ifndef gxchrout_INCLUDED
- # define gxchrout_INCLUDED
- #ifndef gs_imager_state_DEFINED
- # define gs_imager_state_DEFINED
- typedef struct gs_imager_state_s gs_imager_state;
- #endif
- /*
- * Determine the flatness for rendering a character in an outline font.
- * This may be less than the flatness in the imager state.
- * The second argument is the default scaling for the font: 0.001 for
- * Type 1 fonts, 1.0 for TrueType fonts.
- */
- double gs_char_flatness(const gs_imager_state *pis, floatp default_scale);
- #endif /* gxchrout_INCLUDED */
|