Download Now

    Reference TWidgetPointHelper

    Declared in Codebot.Render.Widgets.pas on line 35

    TWidgetPointHelper adds rounding to whole pixels
      TWidgetPointHelper = record helper for TPointF
      public
        { Round to whole pixels, offset by half a pixel when Width is odd }
        function Round(Width: LongWord = 1): TPointF;
      end;

    See also

    TPointF in Codebot.Graphics.Types.pas