private double getFoldingMarkerCenterOffset2D() {
    ScaleContext ctx = ScaleContext.create(myEditor.getComponent());
    if (ExperimentalUI.isNewUI()) {
      return PaintUtil.alignToInt(getFoldingAreaOffset() + getFoldingAnchorWidth(), ctx, RoundingMode.ROUND, null);
    }
    return PaintUtil.alignToInt(getFoldingAreaOffset() + getFoldingAnchorWidth() / 2.0, ctx, RoundingMode.ROUND, null);
  }
private double getFoldingMarkerCenterOffset2D()