static void set_font_encoding(View* view, int32 encoding) { ServerFont font; font.SetEncoding(encoding); view->CurrentState()->SetFont(font, B_FONT_ENCODING); }
static void set_font_encoding(DrawingContext* context, int32 encoding) { ServerFont font; font.SetEncoding(encoding); context->CurrentState()->SetFont(font, B_FONT_ENCODING); }
static void set_font_encoding(void* _context, uint8 encoding) { DrawingContext* context = reinterpret_cast<DrawingContext *>(_context); ServerFont font; font.SetEncoding(encoding); context->CurrentState()->SetFont(font, B_FONT_ENCODING); }
static void set_font_encoding(void* _canvas, uint8 encoding) { Canvas* const canvas = reinterpret_cast<Canvas*>(_canvas); ServerFont font; font.SetEncoding(encoding); canvas->CurrentState()->SetFont(font, B_FONT_ENCODING); }