static void set_font_face(View* view, int32 face) { ServerFont font; font.SetFace(face); view->CurrentState()->SetFont(font, B_FONT_FACE); }
static void set_font_face(DrawingContext* context, int32 face) { ServerFont font; font.SetFace(face); context->CurrentState()->SetFont(font, B_FONT_FACE); }
static void set_font_face(void* _context, uint16 face) { DrawingContext* context = reinterpret_cast<DrawingContext *>(_context); ServerFont font; font.SetFace(face); context->CurrentState()->SetFont(font, B_FONT_FACE); }
static void set_font_face(void* _canvas, uint16 face) { Canvas* const canvas = reinterpret_cast<Canvas*>(_canvas); ServerFont font; font.SetFace(face); canvas->CurrentState()->SetFont(font, B_FONT_FACE); }