From d486e3925574e39c146425896b4e7e1cf0563797 Mon Sep 17 00:00:00 2001 From: Alexander Iljin Date: Tue, 14 Apr 2020 00:16:49 +0200 Subject: [PATCH] ui.gadgets.charts: delete some obsolete implementation comments --- extra/ui/gadgets/charts/charts.factor | 5 ----- 1 file changed, 5 deletions(-) diff --git a/extra/ui/gadgets/charts/charts.factor b/extra/ui/gadgets/charts/charts.factor index 4b59861c7d..198e765d68 100644 --- a/extra/ui/gadgets/charts/charts.factor +++ b/extra/ui/gadgets/charts/charts.factor @@ -17,8 +17,3 @@ M: chart pref-dim* drop { 300 300 } ; ! Return the { width height } of the visible area, in pixels. : chart-dim ( chart -- seq ) dim>> ; - -! There are several things to do to present data on the screen. -! Map the data coordinates to the screen coordinates. -! Cut off data outside the presentation window. When cutting off vertically, split the line into segments and add new points if necessary. Return an array of line segments. -! Remove redundant points from the drawing pass.