2016-09-22 16:22:34 -07:00
|
|
|
|
/**
|
2018-09-11 15:27:47 -07:00
|
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-09-22 16:22:34 -07:00
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-09-22 16:22:34 -07:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
using System;
|
2016-10-22 09:51:17 -07:00
|
|
|
|
using System.Runtime.InteropServices;
|
2016-09-22 16:22:34 -07:00
|
|
|
|
|
2016-12-02 11:18:16 -08:00
|
|
|
|
namespace Facebook.Yoga
|
2016-09-22 16:22:34 -07:00
|
|
|
|
{
|
2016-10-22 09:51:17 -07:00
|
|
|
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
2016-12-02 11:18:16 -08:00
|
|
|
|
public delegate YogaSize YogaMeasureFunc(
|
2017-05-03 09:22:35 -07:00
|
|
|
|
IntPtr unmanagedNodePtr,
|
2016-09-22 16:22:34 -07:00
|
|
|
|
float width,
|
2016-12-02 05:47:43 -08:00
|
|
|
|
YogaMeasureMode widthMode,
|
2016-09-22 16:22:34 -07:00
|
|
|
|
float height,
|
2016-12-02 05:47:43 -08:00
|
|
|
|
YogaMeasureMode heightMode);
|
2016-09-22 16:22:34 -07:00
|
|
|
|
}
|