2
* Inkscape::Text::Layout - text layout engine misc
5
* Richard Hughes <cyreve@users.sf.net>
7
* Copyright (C) 2005 Richard Hughes
9
* Released under GNU GPL, read the file 'COPYING' for more information
11
#include "Layout-TNG.h"
16
const gunichar Layout::UNICODE_SOFT_HYPHEN = 0x00AD;
17
const double Layout::LINE_HEIGHT_NORMAL = 1.25;
32
_clearOutputObjects();
35
bool Layout::_directions_are_orthogonal(Direction d1, Direction d2)
37
if (d1 == BOTTOM_TO_TOP) d1 = TOP_TO_BOTTOM;
38
if (d2 == BOTTOM_TO_TOP) d2 = TOP_TO_BOTTOM;
39
if (d1 == RIGHT_TO_LEFT) d1 = LEFT_TO_RIGHT;
40
if (d2 == RIGHT_TO_LEFT) d2 = LEFT_TO_RIGHT;