Searched refs:para_direction (Results 1 – 5 of 5) sorted by relevance
154 static Layout::Alignment text_anchor_to_alignment(unsigned anchor, Layout::Direction para_direction) in text_anchor_to_alignment() argument158 …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() argument167 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()
975 …Direction para_direction = _parent_layout->_spans[old_span_index].paragraph(_parent_layout).base_d… in _cursorLeftOrRightLocalX() local979 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 …]
723 Alignment styleGetAlignment(Direction para_direction, bool try_text_align) const;
435 int para_direction=0, // = REND_DIRECTION_UNSET in lvrend.h
4498 lUInt32 LFormattedText::Format(lUInt16 width, lUInt16 page_height, int para_direction, in Format() argument4530 formatter.m_specified_para_dir = para_direction; in Format()