Home
last modified time | relevance | path

Searched refs:m_mask (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/libs/agg/
H A Dagg_bitset_iterator.h29 m_mask(0x80 >> (offset & 7))
34 m_mask >>= 1;
35 if(m_mask == 0)
38 m_mask = 0x80;
44 return (*m_bits) & m_mask; in bit()
49 int8u m_mask; variable
H A Dagg_image_accessors.h313 m_mask = 1; in wrap_mode_repeat_pow2()
314 while(m_mask < size) m_mask = (m_mask << 1) | 1; in wrap_mode_repeat_pow2()
315 m_mask >>= 1; in wrap_mode_repeat_pow2()
319 return m_value = unsigned(v) & m_mask; in operator()
324 if(m_value > m_mask) m_value = 0;
328 unsigned m_mask;
341 m_mask((m_size & (m_size-1)) ? 0 : m_size-1), in wrap_mode_repeat_auto_pow2()
347 if(m_mask) return m_value = unsigned(v) & m_mask; in operator()
360 unsigned m_mask; variable
407 m_mask = 1; in wrap_mode_reflect_pow2()
[all …]
H A Dagg_pixfmt_amask_adaptor.h63 m_pixf(&pixf), m_mask(&mask), m_span() in pixfmt_amask_adaptor()
67 void attach_alpha_mask(const amask_type& mask) { m_mask = &mask; } in attach_alpha_mask()
89 m_pixf->blend_pixel(x, y, c, m_mask->pixel(x, y)); in copy_pixel()
95 m_pixf->blend_pixel(x, y, c, m_mask->combine_pixel(x, y, cover)); in blend_pixel()
104 m_mask->fill_hspan(x, y, &m_span[0], len); in copy_hline()
115 m_mask->combine_hspan(x, y, &m_span[0], len); in blend_hline()
125 m_mask->fill_vspan(x, y, &m_span[0], len); in copy_vline()
136 m_mask->combine_vspan(x, y, &m_span[0], len); in blend_vline()
157 m_mask->combine_hspan(x, y, &m_span[0], len); in blend_solid_hspan()
169 m_mask->combine_vspan(x, y, &m_span[0], len); in blend_solid_vspan()
[all …]
H A Dagg_renderer_outline_image.h216 line_image_pattern<Filter>(filter), m_mask(line_subpixel_mask) {} in line_image_pattern_pow2()
221 line_image_pattern<Filter>(filter), m_mask(line_subpixel_mask) in line_image_pattern_pow2()
230 m_mask = 1; in create()
231 while(m_mask < base_type::m_width) in create()
233 m_mask <<= 1; in create()
234 m_mask |= 1; in create()
236 m_mask <<= line_subpixel_shift - 1; in create()
237 m_mask |= line_subpixel_mask; in create()
238 base_type::m_width_hr = m_mask + 1; in create()
247 (x & m_mask) + base_type::m_dilation_hr, in pixel()
[all …]