/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// Set the layout parameters.
const Vector<GlyphIndex>& charactersToGlyph = visualModel->mCharactersToGlyph;
const Vector<Length>& glyphsPerCharacter = visualModel->mGlyphsPerCharacter;
-
+ float outlineWidth = visualModel->GetOutlineWidth();
Layout::Parameters layoutParameters( textArea,
utf32Characters.Begin(),
lineBreakInfo.Begin(),
charactersToGlyph.Begin(),
glyphsPerCharacter.Begin(),
numberOfGlyphs,
- Layout::HORIZONTAL_ALIGN_BEGIN,
- Layout::LineWrap::WORD );
+ Text::HorizontalAlignment::BEGIN,
+ Text::LineWrap::WORD,
+ outlineWidth );
Vector<LineRun>& lines = visualModel->mLines;
layoutEngine.Align( textArea,
0u,
numberOfCharacters,
- Layout::HORIZONTAL_ALIGN_BEGIN,
+ Text::HorizontalAlignment::BEGIN,
lines,
alignmentOffset );
}