Move trailing border function as a method on YGNode

Summary: Move trailing border function as a method on YGNode

Reviewed By: emilsjolander

Differential Revision: D6711666

fbshipit-source-id: fe4fdfc2db59d03beb763317e1a6f9de52f851d4
This commit is contained in:
Pritesh Nandgaonkar
2018-01-15 10:09:46 -08:00
committed by Facebook Github Bot
parent 6efb4b90d4
commit 9d6af5b314
3 changed files with 22 additions and 23 deletions

View File

@@ -86,6 +86,7 @@ struct YGNode {
float getLeadingMargin(const YGFlexDirection axis, const float widthSize);
float getTrailingMargin(const YGFlexDirection axis, const float widthSize);
float getLeadingBorder(const YGFlexDirection flexDirection);
float getTrailingBorder(const YGFlexDirection flexDirection);
// Setters
void setContext(void* context);