2018-05-08 01:58:06 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
|
|
|
* 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
|