@@ -650,41 +650,6 @@ Offset offsetToCenter
650
650
) ;
651
651
}
652
652
653
- Matrix4x4 _magnifyTransform ( ) {
654
- Matrix4x4 magnify = Matrix4x4 . identity ;
655
- magnify . translate ( this . size . width * ( - this . _offAxisFraction + 0.5f ) , this . size . height / 2f ) ;
656
- magnify . scale ( this . _magnification , this . _magnification , this . _magnification ) ;
657
- magnify . translate ( - this . size . width * ( - this . _offAxisFraction + 0.5f ) , - this . size . height / 2f ) ;
658
- return magnify ;
659
- }
660
-
661
- Matrix3 _centerOriginTransform ( Matrix3 originalMatrix ) {
662
- Matrix3 result = Matrix3 . I ( ) ;
663
- Offset centerOriginTranslation = Alignment . center . alongSize ( this . size ) ;
664
- result . setTranslate ( centerOriginTranslation . dx * ( - this . _offAxisFraction * 2 + 1 ) ,
665
- centerOriginTranslation . dy ) ;
666
- result . multiply ( originalMatrix ) ;
667
- result . setTranslate ( - centerOriginTranslation . dx * ( - this . _offAxisFraction * 2 + 1 ) ,
668
- - centerOriginTranslation . dy ) ;
669
- return result ;
670
- }
671
-
672
- Matrix4x4 _centerOriginTransform ( Matrix4x4 originalMatrix ) {
673
- Matrix4x4 result = Matrix4x4 . identity ;
674
- Offset centerOriginTranslation = Alignment . center . alongSize ( this . size ) ;
675
- result . translate ( centerOriginTranslation . dx * ( - this . _offAxisFraction * 2 + 1 ) ,
676
- centerOriginTranslation . dy ) ;
677
- result . multiply ( originalMatrix ) ;
678
- result . translate ( - centerOriginTranslation . dx * ( - this . _offAxisFraction * 2 + 1 ) ,
679
- - centerOriginTranslation . dy ) ;
680
- return result ;
681
- }
682
-
683
- public void applyPaintTransform ( RenderBox child , Matrix4x4 transform ) {
684
- ListWheelParentData parentData = ( ListWheelParentData ) child ? . parentData ;
685
- transform . translate ( 0.0f , this . _getUntransformedPaintingCoordinateY ( parentData . offset . dy ) ) ;
686
- }
687
-
688
653
public override Rect describeApproximatePaintClip ( RenderObject child ) {
689
654
if ( child != null && this . _shouldClipAtCurrentOffset ( ) ) {
690
655
return Offset . zero & this . size ;
0 commit comments