Difference between revisions of "User:Lenny222"

From HaskellWiki
Jump to navigation Jump to search
Line 44: Line 44:
   
 
* Arc
 
* Arc
** http://lib2geom.svn.sourceforge.net/viewvc/lib2geom/lib2geom/trunk/src/2geom/elliptical-arc.h
+
** http://chlor.svn.sourceforge.net/viewvc/chlor/trunk/src/core/CPath.m?revision=561&view=markup
** http://lib2geom.svn.sourceforge.net/viewvc/lib2geom/lib2geom/trunk/src/2geom/elliptical-arc.cpp
 
   
 
* Diagram
 
* Diagram

Revision as of 09:47, 11 January 2010

Things i think need improvement

Chlor


Todo

  • Primitive
    • Circle durch Ellipse ersetzen
    • Polyline [(Double, Double)]
    • Polygon [(Double, Double)]
  • Shape refactoring, e.g. sine :: Int -> Shape => sine :: Int -> [Primitive]
    • Circle
    • Ellipse
    • Rectangle
    • Sine
  • defaultStroke :: Stroke
  • defaultEffects :: [Effect]
  • defaultFill :: Fill
  • defaultObject :: Object
  • news Shapes
    • RegularPolygon
    • Star
  • Diagram
    • Pie (only for displaying fractions)
  • SVG export
    • SvgPath
      • <path d="M 100 100 L 300 100 L 200 300 z" fill="red" stroke="blue" stroke-width="3" />
    • SvgRectangle
      • <rect x="400" y="100" width="400" height="200" fill="yellow" stroke="navy" stroke-width="10" />
  • ObjectLike: DList instead of List?
  • SVG XML generation
    • HStringTemplate?
    • HXT?
    • HaXml?
  • Layout
    • Instances
      • Column
      • Grid (cols, rows, margins)
      • Margin/Frame
        • content size (absolute, relative, remaining)
        • margin sizes (absolute, relative, remaining)
  • repeatedly
    • use HLint
    • use ghc -W
  • AffineTransformation
  • Path
    • approximate :: [(Double, Double)] -> [Segment]

Ideas

  • layout
    • Table
    • SpaceHorizontal
    • SpaceVertical

Simplified Haskell homepage

A simplified Haskell frontpage

Why?