/*
- * 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.
charactersToGlyph.Begin(),
glyphsPerCharacter.Begin(),
numberOfGlyphs,
- Layout::HORIZONTAL_ALIGN_BEGIN );
+ Text::HorizontalAlignment::BEGIN,
+ Text::LineWrap::WORD );
Vector<LineRun>& lines = visualModel->mLines;
if( options.align )
{
+ float alignmentOffset = 0.f;
layoutEngine.Align( textArea,
0u,
numberOfCharacters,
- Layout::HORIZONTAL_ALIGN_BEGIN,
- lines );
+ Text::HorizontalAlignment::BEGIN,
+ lines,
+ alignmentOffset );
}
}