blob: 487d3004c7abf62601fa05ce1b80d6341c129cfb [file] [log] [blame]
// Copyright 2021 Google LLC.
#ifndef Layout_DEFINED
#define Layout_DEFINED
#include "experimental/sktext/include/Types.h"
#include "experimental/sktext/src/Processor.h"
namespace skia {
namespace text {
class Layout {
public:
static std::unique_ptr<Processor> layout(std::u16string text, std::vector<FontBlock> fontBlocks, TextDirection defaultTextDirection, TextAlign textAlign, SkSize reqSize);
static bool layout(Processor* processor, SkSize reqSize);
};
} // namespace text
} // namespace skia
#endif // Layout_DEFINED