blob: 6b83971654c9e70142574ed045adf51a7815d511 [file] [log] [blame]
// Copyright 2021 Google LLC.
#ifndef Formatter_DEFINED
#define Formatter_DEFINED
#include "experimental/sktext/include/Processor.h"
namespace skia {
namespace text {
class Formatter {
public:
Formatter(Processor* processor, TextFormatStyle formatStyle) : fProcessor(processor), fFormatStyle(formatStyle) { }
bool process();
private:
Processor* fProcessor;
TextFormatStyle fFormatStyle;
};
} // namespace text
} // namespace skia
#endif