Add directional clipping command manager.

Summary: Add directional aware clipping to DrawCommandManager.  Currently not attached to FlatViewGroup logic, with the plan to keep this unattached until we are clipping the way we want to in the final state.

Reviewed By: ahmedre

Differential Revision: D3622253
This commit is contained in:
Seth Kirby authored and Ahmed El-Helw committed 2016-12-19 13:40:30 -08:00
1 parent f850e61fdb
commit e96f6fa585
10 files changed
+391 -43

No files matched your search

@@ -501,6 +501,10 @@ import com.facebook.react.views.view.ReactClippingViewGroupHelper;
top,
right,
bottom,
Math.round(left + mLogicalOffset.left),
Math.round(top + mLogicalOffset.top),
Math.round(right + mLogicalOffset.right),
Math.round(bottom + mLogicalOffset.bottom),
clipLeft,
clipTop,
clipRight,