refactor, sixel performance
[fanfix.git] / src / jexer / backend / LogicalScreen.java
index 24ba4aff9f12afeec1b8b0609baf4e733d3a0524..513c599145440e8a9682ef5c764b8e5d650e9c29 100644 (file)
@@ -134,6 +134,26 @@ public class LogicalScreen implements Screen {
     // Screen -----------------------------------------------------------------
     // ------------------------------------------------------------------------
 
+    /**
+     * Get the width of a character cell in pixels.
+     *
+     * @return the width in pixels of a character cell
+     */
+    public int getTextWidth() {
+        // Default width is 16 pixels.
+        return 16;
+    }
+
+    /**
+     * Get the height of a character cell in pixels.
+     *
+     * @return the height in pixels of a character cell
+     */
+    public int getTextHeight() {
+        // Default height is 20 pixels.
+        return 20;
+    }
+
     /**
      * Set drawing offset for x.
      *