Searched defs:line_height (Results 1 - 6 of 6) sorted by relevance
/inkscape/src/libnrtype/ |
H A D | Layout-TNG-Scanline-Makers.cpp | 43 std::vector<Layout::ScanlineMaker::ScanRun> Layout::InfiniteScanlineMaker::makeScanline(Layout::FontMetrics const &line_height) argument 49 _current_line_height = line_height; 67 bool Layout::InfiniteScanlineMaker::canExtendCurrentScanline(Layout::FontMetrics const &line_height) argument 69 _current_line_height = line_height; 73 void Layout::InfiniteScanlineMaker::setLineHeight(Layout::FontMetrics const &line_height) argument 75 _current_line_height = line_height; 116 std::vector<Layout::ScanlineMaker::ScanRun> Layout::ShapeScanlineMaker::makeScanline(Layout::FontMetrics const &line_height) argument 126 float line_text_height = (float)(line_height.emSize()); 130 _current_line_height = (float)line_height.emSize(); 184 bool Layout::ShapeScanlineMaker::canExtendCurrentScanline(Layout::FontMetrics const &/*line_height*/) 190 setLineHeight(Layout::FontMetrics const &line_height) argument [all...] |
H A D | Layout-TNG-OutIter.cpp | 110 && local_y >= _spans[span_index].line(this).baseline_y + _spans[span_index].baseline_shift - _spans[span_index].line_height.ascent 111 && local_y <= _spans[span_index].line(this).baseline_y + _spans[span_index].baseline_shift + _spans[span_index].line_height.descent) { 123 FontMetrics line_height; local 124 line_height *= 0.0; // Set all metrics to zero. 127 line_height.max(_spans[span_index].line_height); 131 if (local_y < _lines[_chunks[chunk_index].in_line].baseline_y - line_height.ascent) 132 this_y_range = _lines[_chunks[chunk_index].in_line].baseline_y - line_height.ascent - local_y; 133 else if (local_y > _lines[_chunks[chunk_index].in_line].baseline_y + line_height.descent) 134 this_y_range = local_y - (_lines[_chunks[chunk_index].in_line].baseline_y + line_height [all...] |
H A D | Layout-TNG-Compute.cpp | 117 FontMetrics line_height; /// This is not the CSS line-height attribute! member in struct:Inkscape::Text::Layout::Calculator::UnbrokenSpan 259 FontMetrics *line_height, 471 void _outputLine(ParagraphInfo const ¶, FontMetrics const &line_height, std::vector<ChunkInfo> const &chunk_info) argument 473 TRACE((" Start _outputLine: ascent %f, descent %f, top of box %f\n", line_height.ascent, line_height.descent, _scanline_maker->yCoordinate() )); 490 new_line.baseline_y -= 0.5 * line_height.emSize(); 493 new_line.baseline_y += 0.5 * line_height.emSize(); 495 new_line.baseline_y += line_height.getTypoAscent(); 549 top_of_line_box += 0.5 * line_height.emSize(); 552 top_of_line_box -= 0.5 * line_height 1525 _buildChunksInScanRun(ParagraphInfo const ¶, UnbrokenSpanPosition const &start_span_pos, ScanlineMaker::ScanRun const &scan_run, std::vector<ChunkInfo> *chunk_info, FontMetrics *line_height, FontMetrics const *strut_height) const argument 1848 FontMetrics line_height; local [all...] |
H A D | Layout-TNG.h | 657 void computeEffective( const double &line_height ); 847 FontMetrics line_height; member in struct:Inkscape::Text::Layout::Span
|
/inkscape/src/ |
H A D | style.h | 106 SPILengthOrNormal line_height; member in class:SPStyle
|
/inkscape/src/widgets/ |
H A D | text-toolbar.cpp | 96 std::cout << " LineHeight: " << query->line_height.computed 624 double line_height = gtk_adjustment_get_value(line_height_adj); local 632 line_height *= 0.5; 634 line_height *= 2.0; 636 line_height /= 100.0; 638 line_height *= 100; 640 line_height /= 50.0; 642 line_height *= 50; 661 line_height = Quantity::convert(line_height, sp_style_get_css_unit_strin [all...] |
Completed in 466 milliseconds