Home
last modified time | relevance | path

Searched refs:para_direction (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/libnrtype/
H A DLayout-TNG-Input.cpp154 static Layout::Alignment text_anchor_to_alignment(unsigned anchor, Layout::Direction para_direction) in text_anchor_to_alignment() argument
158 …case SP_CSS_TEXT_ANCHOR_START: return para_direction == Layout::LEFT_TO_RIGHT ? Layout::LEFT : La… in text_anchor_to_alignment()
160 …case SP_CSS_TEXT_ANCHOR_END: return para_direction == Layout::LEFT_TO_RIGHT ? Layout::RIGHT : L… in text_anchor_to_alignment()
164 Layout::Alignment Layout::InputStreamTextSource::styleGetAlignment(Layout::Direction para_direction in styleGetAlignment() argument
167 return text_anchor_to_alignment(style->text_anchor.computed, para_direction); in styleGetAlignment()
180 … case SP_CSS_TEXT_ALIGN_START: return para_direction == LEFT_TO_RIGHT ? LEFT : RIGHT; in styleGetAlignment()
181 … case SP_CSS_TEXT_ALIGN_END: return para_direction == LEFT_TO_RIGHT ? RIGHT : LEFT; in styleGetAlignment()
189 return text_anchor_to_alignment(this_style->text_anchor.computed, para_direction); in styleGetAlignment()
194 return para_direction == LEFT_TO_RIGHT ? LEFT : RIGHT; in styleGetAlignment()
H A DLayout-TNG-OutIter.cpp975 …Direction para_direction = _parent_layout->_spans[old_span_index].paragraph(_parent_layout).base_d… in _cursorLeftOrRightLocalX() local
979 if (old_span_direction != para_direction in _cursorLeftOrRightLocalX()
980 && ((_char_index == 0 && direction == para_direction) in _cursorLeftOrRightLocalX()
981 … || (_char_index == _parent_layout->_characters.size() && direction != para_direction))) { in _cursorLeftOrRightLocalX()
983 scan_direction = direction == para_direction ? +1 : -1; in _cursorLeftOrRightLocalX()
995 scan_direction = direction == para_direction ? +1 : -1; in _cursorLeftOrRightLocalX()
1000 if (old_span_direction == para_direction) in _cursorLeftOrRightLocalX()
1002 scan_direction = direction == para_direction ? +1 : -1; in _cursorLeftOrRightLocalX()
1028 if (_parent_layout->_spans[new_span_index].direction == para_direction) { in _cursorLeftOrRightLocalX()
1029 if (para_direction == old_span_direction) in _cursorLeftOrRightLocalX()
[all …]
H A DLayout-TNG.h723 Alignment styleGetAlignment(Direction para_direction, bool try_text_align) const;
/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/include/
H A Dlvtextfm.h435 int para_direction=0, // = REND_DIRECTION_UNSET in lvrend.h
/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/src/
H A Dlvtextfm.cpp4498 lUInt32 LFormattedText::Format(lUInt16 width, lUInt16 page_height, int para_direction, in Format() argument
4530 formatter.m_specified_para_dir = para_direction; in Format()