Moved leadingpaddingnandborder function as a method on YGNode

Summary: Moved leadingpaddingnandborder function as a method on YGNode

Reviewed By: emilsjolander

Differential Revision: D6711991

fbshipit-source-id: 41ad7191bf8df6fe3131106436dc0c87e9dee297
This commit is contained in:
Pritesh Nandgaonkar
2018-01-15 10:09:55 -08:00
committed by Facebook Github Bot
parent 130b5beca2
commit 92bfcbafc0
3 changed files with 13 additions and 12 deletions

View File

@@ -90,6 +90,9 @@ struct YGNode {
float getTrailingBorder(const YGFlexDirection flexDirection);
float getLeadingPadding(const YGFlexDirection axis, const float widthSize);
float getTrailingPadding(const YGFlexDirection axis, const float widthSize);
float getLeadingPaddingAndBorder(
const YGFlexDirection axis,
const float widthSize);
// Setters
void setContext(void* context);