Adam Barth 29ab28d922 ParagraphBuilder should be able to build a paragraph
This patch start down the road of implementing text layout and painting without
the DOM. We can construct a basic paragraph consisting of a single run of text
and we can get through layout without crashing.
2015-09-11 10:23:15 -07:00

20 lines
533 B
C++

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKY_ENGINE_CORE_TEXT_TEXTBASELINE_H_
#define SKY_ENGINE_CORE_TEXT_TEXTBASELINE_H_
#include "sky/engine/tonic/dart_converter.h"
#include "sky/engine/platform/graphics/GraphicsTypes.h"
namespace blink {
template <>
struct DartConverter<TextBaseline>
: public DartConverterEnum<int> {};
} // namespace blink
#endif // SKY_ENGINE_CORE_TEXT_TEXTALIGN_H_