3 #include "gdipp_server/renderer.h"
8 class ggo_renderer
: public renderer
11 explicit ggo_renderer(rpc_session
*render_session
);
12 bool render(bool is_glyph_index
, LPCWSTR lpString
, UINT c
, glyph_run
*new_glyph_run
);
15 static void outline_ggo_to_ft(DWORD ggo_outline_buf_len
, const BYTE
*ggo_outline_buf
, std::vector
<FT_Vector
> &curve_points
, std::vector
<char> &curve_tags
, std::vector
<short> &contour_indices
);
17 bool get_glyph_metrics(wchar_t ch
, GLYPHMETRICS
&glyph_metrics
) const;
18 const FT_Glyph
outline_to_bitmap(wchar_t ch
, GLYPHMETRICS
&glyph_metrics
) const;
20 static FT_Glyph _empty_outline_glyph
;