The OpenD Programming Language

ScreenPainter.drawText

Draws text using a custom font.

This is still MAJOR work in progress.

Creating a DrawableFont can be tricky and require additional dependencies.

  1. void drawText(Point upperLeft, char[] text, Point lowerRight, uint alignment)
  2. void drawText(DrawableFont font, Point upperLeft, char[] text)
    struct ScreenPainter
    void
    drawText

Meta