/haiku/src/apps/haikudepot/textview/ |
H A D | Paragraph.cpp | 89 Paragraph::Prepend(const TextSpan& span) argument 93 // Try to merge with first span if the TextStyles are equal 96 if (firstSpan.Style() == span.Style()) { 97 BString text(span.Text()); 99 fTextSpans[0] = TextSpan(text, span.Style()); 103 fTextSpans.push_back(span); 109 Paragraph::Append(const TextSpan& span) argument 113 // Try to merge with last span if the TextStyles are equal 116 if (lastSpan.Style() == span.Style()) { 118 text.Append(span 139 const TextSpan& span = fTextSpans[index]; local 151 TextSpan span = fTextSpans[index]; local 161 TextSpan span = fTextSpans[index - 1]; local 197 const TextSpan& span = fTextSpans[index]; local 279 const TextSpan& span = *it; local 312 const TextSpan& span = *it; local 340 const TextSpan& span = *it; local 381 const TextSpan& span = fTextSpans[i]; local [all...] |
H A D | TextDocument.cpp | 173 const TextSpan& span = paragraph.TextSpanAtIndex(index); local 174 if (textOffset - span.CountChars() < 0) 175 return span.Style(); 176 textOffset -= span.CountChars(); 194 const TextSpan& span = paragraph.TextSpanAtIndex(index); local 195 if (textOffset - span.CountChars() < 0) 196 return span.ClickMessage(); 197 textOffset -= span.CountChars(); 215 const TextSpan& span = paragraph.TextSpanAtIndex(index); local 216 if (textOffset - span 552 const TextSpan& span = paragraphAtIndex.TextSpanAtIndex(i); local 582 const TextSpan& span = otherParagraph.TextSpanAtIndex(i); local 627 const TextSpan& span = otherParagraph.TextSpanAtIndex(i); local 642 const TextSpan& span = paragraph1.TextSpanAtIndex(indexLastSpan); local 662 const TextSpan& span = otherParagraph.TextSpanAtIndex(i); local 716 const TextSpan& span = paragraph.TextSpanAtIndex(i); local 747 const TextSpan& span = newParagraph.TextSpanAtIndex(i); local [all...] |
H A D | Paragraph.h | 32 bool Prepend(const TextSpan& span); 33 bool Append(const TextSpan& span); 34 bool Insert(int32 offset, const TextSpan& span);
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | agg_renderer_scanline_subpix.h | 29 typename Scanline::const_iterator span = sl.begin(); local 33 int x = span->x; 34 if(span->len > 0) 36 ren.blend_solid_hspan_subpix(x, y, (unsigned)span->len, 38 span->covers); 42 ren.blend_hline(x, y, (unsigned)(x - (span->len / 3) - 1), 44 *(span->covers)); 47 ++span;
|
H A D | agg_scanline_u_subpix.h | 30 struct span struct in class:agg::scanline_u8_subpix 37 typedef span* iterator; 38 typedef const span* const_iterator; 129 pod_array<span> m_spans; 130 span* m_cur_span;
|
H A D | agg_scanline_p_subpix.h | 36 struct span struct in class:agg::scanline_p8_subpix 39 coord_type len; // If negative, it's a solid span, covers is valid 43 typedef span* iterator; 44 typedef const span* const_iterator; 159 pod_array<span> m_spans; 160 span* m_cur_span;
|
H A D | agg_scanline_p_subpix_avrg_filtering.h | 37 struct span struct in class:agg::scanline_p8_subpix_avrg_filtering 40 coord_type len; // If negative, it's a solid span, covers is valid 44 typedef span* iterator; 45 typedef const span* const_iterator; 187 pod_array<span> m_spans; 188 span* m_cur_span;
|
H A D | agg_scanline_u_subpix_avrg_filtering.h | 32 struct span struct in class:agg::scanline_u8_subpix_avrg_filtering 39 typedef span* iterator; 40 typedef const span* const_iterator; 158 pod_array<span> m_spans; 159 span* m_cur_span;
|
/haiku/headers/libs/agg/ |
H A D | agg_span_pattern_rgb.h | 68 void generate(color_type* span, int x, int y, unsigned len) argument 72 const value_type* p = (const value_type*)m_src->span(x, y, len); 75 span->r = p[order_type::R]; 76 span->g = p[order_type::G]; 77 span->b = p[order_type::B]; 78 span->a = m_alpha; 80 ++span;
|
H A D | agg_span_pattern_rgba.h | 67 void generate(color_type* span, int x, int y, unsigned len) argument 71 const value_type* p = (const value_type*)m_src->span(x, y, len); 74 span->r = p[order_type::R]; 75 span->g = p[order_type::G]; 76 span->b = p[order_type::B]; 77 span->a = p[order_type::A]; 79 ++span;
|
H A D | agg_span_solid.h | 41 void generate(color_type* span, int x, int y, unsigned len) argument 43 do { *span++ = m_color; } while(--len);
|
H A D | agg_span_pattern_gray.h | 67 void generate(color_type* span, int x, int y, unsigned len) argument 71 const value_type* p = (const value_type*)m_src->span(x, y, len); 74 span->v = *p; 75 span->a = m_alpha; 77 ++span;
|
H A D | agg_scanline_u.h | 38 // Each span has staring X, length, and an array of bytes that determine the 63 // scanline_u8::const_iterator span = sl.begin(); 74 // span->covers; // The array of the cover values 76 // int num_pix = span->len; // Number of pixels of the span. 81 // int x = span->x; 97 // ++span; 105 // of more than one span the conditions for the processor cash system 117 struct span struct in class:agg::scanline_u8 124 typedef span* iterato 263 typename base_type::iterator span = base_type::begin(); local 293 struct span struct in class:agg::scanline32_u8 295 span() {} function in struct:agg::scanline32_u8::span 296 span(coord_type x_, coord_type len_, cover_type* covers_) : function in struct:agg::scanline32_u8::span 476 typename base_type::iterator span = base_type::begin(); local [all...] |
H A D | agg_scanline_bin.h | 48 struct span struct in class:agg::scanline_bin 54 typedef const span* const_iterator; 138 pod_array<span> m_spans; 139 span* m_cur_span; 154 struct span struct in class:agg::scanline32_bin 156 span() {} function in struct:agg::scanline32_bin::span 157 span(coord_type x_, coord_type len_) : x(x_), len(len_) {} function in struct:agg::scanline32_bin::span 162 typedef pod_bvector<span, 4> span_array_type; 174 const span& operator*() const { return m_spans[m_span_idx]; } 175 const span* operato [all...] |
H A D | agg_span_converter.h | 43 void generate(color_type* span, int x, int y, unsigned len) argument 45 m_span_gen->generate(span, x, y, len); 46 m_span_cnv->generate(span, x, y, len);
|
H A D | agg_span_gouraud_rgba.h | 133 void generate(color_type* span, int x, int y, unsigned len) 176 // This operation will also clip the beginning of the span 189 // Beginning part of the span. Since we rolled back the 205 span->r = (value_type)vr; 206 span->g = (value_type)vg; 207 span->b = (value_type)vb; 208 span->a = (value_type)va; 215 ++span; 226 span->r = (value_type)r.y(); 227 span [all...] |
H A D | agg_renderer_scanline.h | 33 typename Scanline::const_iterator span = sl.begin(); local 37 int x = span->x; 38 if(span->len > 0) 40 ren.blend_solid_hspan(x, y, (unsigned)span->len, 42 span->covers); 46 ren.blend_hline(x, y, (unsigned)(x - span->len - 1), 48 *(span->covers)); 51 ++span; 81 typename Scanline::const_iterator span = sl.begin(); local 85 int x = span 159 typename Scanline::const_iterator span = sl.begin(); local 248 typename Scanline::const_iterator span = sl.begin(); local 288 typename Scanline::const_iterator span = sl.begin(); local 354 typename Scanline::const_iterator span = sl.begin(); local [all...] |
H A D | agg_scanline_p.h | 50 struct span struct in class:agg::scanline_p8 53 coord_type len; // If negative, it's a solid span, covers is valid 57 typedef span* iterator; 58 typedef const span* const_iterator; 170 pod_array<span> m_spans; 171 span* m_cur_span; 189 struct span struct in class:agg::scanline32_p8 191 span() {} function in struct:agg::scanline32_p8::span 192 span(coord_type x_, coord_type len_, const cover_type* covers_) : function in struct:agg::scanline32_p8::span 196 coord_type len; // If negative, it's a solid span, cover [all...] |
H A D | agg_span_allocator.h | 43 AGG_INLINE color_type* span() { return &m_span[0]; } function in class:agg::span_allocator
|
H A D | agg_span_image_filter_rgb.h | 61 void generate(color_type* span, int x, int y, unsigned len) argument 69 base_type::source().span(x >> image_subpixel_shift, 72 span->r = fg_ptr[order_type::R]; 73 span->g = fg_ptr[order_type::G]; 74 span->b = fg_ptr[order_type::B]; 75 span->a = base_mask; 76 ++span; 113 void generate(color_type* span, int x, int y, unsigned len) argument 141 fg_ptr = (const value_type*)base_type::source().span(x_lr, y_lr, 2); 166 span 211 generate(color_type* span, int x, int y, unsigned len) argument 443 generate(color_type* span, int x, int y, unsigned len) argument 559 generate(color_type* span, int x, int y, unsigned len) argument 677 generate(color_type* span, int x, int y, unsigned len) argument 793 generate(color_type* span, int x, int y, unsigned len) argument [all...] |
H A D | agg_span_image_filter_rgba.h | 61 void generate(color_type* span, int x, int y, unsigned len) argument 69 base_type::source().span(x >> image_subpixel_shift, 72 span->r = fg_ptr[order_type::R]; 73 span->g = fg_ptr[order_type::G]; 74 span->b = fg_ptr[order_type::B]; 75 span->a = fg_ptr[order_type::A]; 76 ++span; 113 void generate(color_type* span, int x, int y, unsigned len) argument 144 fg_ptr = (const value_type*)base_type::source().span(x_lr, y_lr, 2); 173 span 218 generate(color_type* span, int x, int y, unsigned len) argument 454 generate(color_type* span, int x, int y, unsigned len) argument 576 generate(color_type* span, int x, int y, unsigned len) argument 697 generate(color_type* span, int x, int y, unsigned len) argument 817 generate(color_type* span, int x, int y, unsigned len) argument [all...] |
H A D | agg_span_gouraud_gray.h | 121 void generate(color_type* span, int x, int y, unsigned len) 162 // This operation will also clip the beginning of the span 173 // Beginning part of the span. Since we rolled back the 185 span->v = (value_type)vv; 186 span->a = (value_type)va; 191 ++span; 202 span->v = (value_type)v.y(); 203 span->a = (value_type)a.y(); 207 ++span; 220 span [all...] |
H A D | agg_span_image_filter_gray.h | 60 void generate(color_type* span, int x, int y, unsigned len) argument 67 span->v = *(const value_type*) 68 base_type::source().span(x >> image_subpixel_shift, 71 span->a = base_mask; 72 ++span; 107 void generate(color_type* span, int x, int y, unsigned len) argument 131 fg_ptr = (const value_type*)base_type::source().span(x_lr, y_lr, 2); 143 span->v = value_type(fg >> (image_subpixel_shift * 2)); 144 span->a = base_mask; 145 ++span; 183 generate(color_type* span, int x, int y, unsigned len) argument 358 generate(color_type* span, int x, int y, unsigned len) argument 456 generate(color_type* span, int x, int y, unsigned len) argument 558 generate(color_type* span, int x, int y, unsigned len) argument 661 generate(color_type* span, int x, int y, unsigned len) argument [all...] |
/haiku/src/apps/mediaplayer/interface/ |
H A D | PeakView.cpp | 353 uint8* span = (uint8*)fBackBitmap->Bits(); 356 _RenderSpan(span, width, fChannelInfos[i].current_max, 359 span += fBackBitmap->BytesPerRow(); 365 PeakView:: _RenderSpan(uint8* span, uint32 width, float current, float peak, argument 399 uint8 fadedB = (uint8)(((int)span[0] * kFadeFactor) >> 8); 400 uint8 fadedG = (uint8)(((int)span[1] * kFadeFactor) >> 8); 401 uint8 fadedR = (uint8)(((int)span[2] * kFadeFactor) >> 8); 403 span[0] = max_c(fillB, fadedB); 404 span[1] = max_c(fillG, fadedG); 405 span[ [all...] |
/haiku/src/libs/icon/ |
H A D | IconRenderer.cpp | 57 void generate_span(agg::rgba8* span, int x, int y, 66 void _GenerateGradient(agg::rgba8* span, 73 void _GenerateImage(agg::rgba8* span, 184 IconRenderer::StyleHandler::generate_span(agg::rgba8* span, int x, int y, argument 195 // TODO: memset() span? 201 _GenerateImage(span, x, y, len, styleItem->style, styleItem->transformer); 213 _GenerateGradient(span, x, y, len, function, -64, 64, colors, 219 _GenerateGradient(span, x, y, len, function, 0, 64, colors, 225 _GenerateGradient(span, x, y, len, function, 0, 64, colors, 231 _GenerateGradient(span, 295 _GenerateGradient(agg::rgba8* span, int x, int y, unsigned len, GradientFunction function, int32 start, int32 end, const agg::rgba8* gradientColors, StyleTransformer* transformer) argument 338 _GenerateImage(agg::rgba8* span, int x, int y, unsigned len, const Style* style, StyleTransformer* transformer) argument [all...] |