Move internal LCD-related declarations.
* include/freetype/ftlcdfil.h (ft_lcd_padding, ft_lcd_filter_fir): Move from here... * include/freetype/internal/ftobjs.h: ... to here.
This commit is contained in:
parent
c94d042be6
commit
20b3e34846
@ -1,3 +1,11 @@
|
||||
2018-01-03 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
Move internal LCD-related declarations.
|
||||
|
||||
* include/freetype/ftlcdfil.h (ft_lcd_padding, ft_lcd_filter_fir):
|
||||
Move from here...
|
||||
* include/freetype/internal/ftobjs.h: ... to here.
|
||||
|
||||
2018-01-03 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* include/freetype/config/ftconfig.h (FT_EXPORT, FT_EXPORT_DEF)
|
||||
|
@ -298,27 +298,6 @@ FT_BEGIN_HEADER
|
||||
typedef FT_Byte FT_LcdFiveTapFilter[FT_LCD_FILTER_FIVE_TAPS];
|
||||
|
||||
|
||||
FT_BASE( void )
|
||||
ft_lcd_padding( FT_Pos* Min,
|
||||
FT_Pos* Max,
|
||||
FT_GlyphSlot slot );
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
|
||||
typedef void (*FT_Bitmap_LcdFilterFunc)( FT_Bitmap* bitmap,
|
||||
FT_Render_Mode render_mode,
|
||||
FT_Byte* weights );
|
||||
|
||||
|
||||
/* This is the default LCD filter, an in-place, 5-tap FIR filter. */
|
||||
FT_BASE( void )
|
||||
ft_lcd_filter_fir( FT_Bitmap* bitmap,
|
||||
FT_Render_Mode mode,
|
||||
FT_LcdFiveTapFilter weights );
|
||||
|
||||
#endif /* FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||
|
||||
|
||||
/* */
|
||||
|
||||
|
||||
|
@ -312,6 +312,27 @@ FT_BEGIN_HEADER
|
||||
FT_CMap_Done( FT_CMap cmap );
|
||||
|
||||
|
||||
/* adds LCD padding to Min and Max boundaries */
|
||||
FT_BASE( void )
|
||||
ft_lcd_padding( FT_Pos* Min,
|
||||
FT_Pos* Max,
|
||||
FT_GlyphSlot slot );
|
||||
|
||||
#ifdef FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
|
||||
typedef void (*FT_Bitmap_LcdFilterFunc)( FT_Bitmap* bitmap,
|
||||
FT_Render_Mode render_mode,
|
||||
FT_Byte* weights );
|
||||
|
||||
|
||||
/* This is the default LCD filter, an in-place, 5-tap FIR filter. */
|
||||
FT_BASE( void )
|
||||
ft_lcd_filter_fir( FT_Bitmap* bitmap,
|
||||
FT_Render_Mode mode,
|
||||
FT_LcdFiveTapFilter weights );
|
||||
|
||||
#endif /* FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* <Struct> */
|
||||
|
Loading…
Reference in New Issue
Block a user