2018-05-08 01:58:06 +00:00
|
|
|
/**
|
2018-09-11 22:27:47 +00:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2018-05-08 01:58:06 +00:00
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "TextLayoutManager.h"
|
|
|
|
|
|
|
|
namespace facebook {
|
|
|
|
namespace react {
|
|
|
|
|
|
|
|
TextLayoutManager::TextLayoutManager() {
|
|
|
|
}
|
|
|
|
|
|
|
|
TextLayoutManager::~TextLayoutManager() {
|
|
|
|
}
|
|
|
|
|
|
|
|
void *TextLayoutManager::getNativeTextLayoutManager() const {
|
|
|
|
return self_;
|
|
|
|
}
|
|
|
|
|
|
|
|
Size TextLayoutManager::measure(
|
|
|
|
AttributedString attributedString,
|
|
|
|
ParagraphAttributes paragraphAttributes,
|
|
|
|
LayoutConstraints layoutConstraints
|
|
|
|
) const {
|
2018-07-02 04:22:22 +00:00
|
|
|
// Not implemented.
|
|
|
|
return {};
|
2018-05-08 01:58:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace react
|
|
|
|
} // namespace facebook
|