Class HiDPIProportionalFontSizePolicy

  • All Implemented Interfaces:
    IFontSizePolicy

    public class HiDPIProportionalFontSizePolicy
    extends Object
    implements IFontSizePolicy
    This is the greatest IFontSizePolicy since it scale base font with current pixel scale. This is only suitable for EmulGL chart, as Native chart often rely on TextBitmapRenderer which does not support more font than Font defaults. Using a JOGLTextRenderer instead allows more font size and styles. If base font has not been set, it will be based on default IAxisLayout.getFont()
    Author:
    martin
    • Field Detail

      • view

        protected View view
      • baseFont

        protected Font baseFont
    • Constructor Detail

      • HiDPIProportionalFontSizePolicy

        public HiDPIProportionalFontSizePolicy​(View view)