/*
- * Sixth 3D engine. Copyright ©2012-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 3 of the GNU Lesser General Public License
- * or later as published by the Free Software Foundation.
- *
+ * Sixth 3D engine. Author: Svjatoslav Agejenko.
+ * This project is released under Creative Commons Zero (CC0) license.
*/
-
package eu.svjatoslav.sixth.e3d.renderer.raster.shapes.composite.textcanvas;
import eu.svjatoslav.sixth.e3d.geometry.Point2D;
// set corner coordinates (for drawing background)
{
- final double widthHalf = TextCanvas.FONT_CHAR_WIDTH_PIXELS / 2d;
- final double heightHalf = TextCanvas.FONT_CHAR_HEIGHT_PIXELS / 2d;
+ final double widthHalf = TextCanvas.FONT_CHAR_WIDTH / 2d;
+ final double heightHalf = TextCanvas.FONT_CHAR_HEIGHT / 2d;
// upper left
coordinates[1].coordinate = point.clone().translateX(-widthHalf)