• Ian Hickson's avatar
    Make BoxDecoration replaceable. · 2afa87df
    Ian Hickson authored
    Factor out a reusable interface called Decoration from BoxDecoration.
    
    Make all the consumers of BoxDecoration and the erstwhile BoxPainter
    into consumers of Decoration.
    
    Make a BoxPainter be something you get from a Decoration, rather than
    something to which you pass a BoxDecoration.
    
    Rename Shape to BoxShape now that it's documented specifically as
    applying to boxes.
    
    Move EdgeDims to its own file.
    
    Move FractionalOffset up so that it's with the other helper classes in
    its file rather than alone at the end.
    
    Minor change to RenderClipOval's hit testing to avoid taking an
    unnecessary square root.
    
    Rename BoxDecorationPosition to DecorationPosition since
    RenderDecoratedBox now takes any Decoration.
    
    Implement hit testing for rounded rects.
    
    Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
    it support lerping across any Decoration (by deferring to the objects
    involved).
    2afa87df
Name
Last commit
Last update
..
address_book Loading commit data...
fitness Loading commit data...
hello_world Loading commit data...
material_gallery Loading commit data...
mine_digger Loading commit data...
raw Loading commit data...
rendering Loading commit data...
stocks Loading commit data...
widgets Loading commit data...
.gitignore Loading commit data...
BUILD.gn Loading commit data...
README.md Loading commit data...