Searched refs:alpha (Results 51 - 75 of 177) sorted by relevance

12345678

/haiku/src/apps/people/
H A DPictureView.h49 BBitmap* _CopyPicture(uint8 alpha);
/haiku/src/servers/app/drawing/Painter/drawing_modes/
H A DDrawingModeAlphaCCSUBPIX.h30 uint8 hAlpha = pattern->HighColor().alpha;
H A DDrawingModeAlphaCOSUBPIX.h30 uint8 hAlpha = pattern->HighColor().alpha;
H A DDrawingModeCopy.h38 ASSIGN_COPY(p, color.red, color.green, color.blue, color.alpha);
105 ASSIGN_COPY(p, color.red, color.green, color.blue, color.alpha);
131 ASSIGN_COPY(p, color.red, color.green, color.blue, color.alpha);
/haiku/src/tests/system/libroot/posix/
H A Dtest_wctype.c44 wctype_t bit_alpha = wctype("alpha");
63 TEST (alpha);
/haiku/src/apps/icon-o-matic/gui/
H A DSwatchGroup.cpp57 color.alpha = 255;
166 _SetColor(h, s, v, color.alpha);
190 // TODO: fix color picker panel to respect alpha
192 color.alpha = fAlphaSlider->Value();
319 color.alpha = a;
/haiku/src/apps/haikudepot/util/
H A DRatingUtils.cpp70 color.alpha = 190;
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dbes.c674 ow->red.value, ow->green.value, ow->blue.value, ow->alpha.value));
676 ow->red.mask, ow->green.mask, ow->blue.mask, ow->alpha.mask));
753 ((ow->alpha.value & ow->alpha.mask) << 15)
761 /* this space has no alpha bits */
771 ((ow->alpha.value & ow->alpha.mask) << 24)
821 ((ow->alpha.value & ow->alpha.mask) << 15)
829 /* this space has no alpha bit
[all...]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_bes.c677 ow->red.value, ow->green.value, ow->blue.value, ow->alpha.value));
679 ow->red.mask, ow->green.mask, ow->blue.mask, ow->alpha.mask));
758 ((ow->alpha.value & ow->alpha.mask) << 15)
766 /* this space has no alpha bits */
776 ((ow->alpha.value & ow->alpha.mask) << 24)
829 ((ow->alpha.value & ow->alpha.mask) << 15)
837 /* this space has no alpha bit
[all...]
/haiku/src/add-ons/translators/pcx/
H A DPCX.cpp152 uint8 alpha = 255; local
167 target.Write(&alpha, 1);
187 target.Write(&alpha, 1);
203 target.Write(&alpha, 1);
217 target.Write(&alpha, 1);
/haiku/headers/libs/agg/
H A Dagg_rasterizer_compound_aa.h127 void master_alpha(int style, double alpha);
226 unsigned alpha; local
236 alpha = calculate_alpha((cover << (poly_subpixel_shift + 1)) - area,
238 sl.add_cell(x, alpha);
244 alpha = calculate_alpha(cover << (poly_subpixel_shift + 1),
246 if(alpha)
248 sl.add_span(x, cell->x - x, alpha);
658 void rasterizer_compound_aa<Clip>::master_alpha(int style, double alpha) argument
666 m_master_alpha[style] = uround(alpha * aa_mask);
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp263 if (style->Color().alpha == 255)
269 if (style->Color().alpha == 255)
285 // solid color without alpha
295 || !buffer.Write(color.alpha))
298 // solid gray without alpha
661 bool alpha = false; local
665 if (step->color.alpha < 255)
666 alpha = true;
671 if (!alpha)
695 if (alpha) {
[all...]
/haiku/src/add-ons/translators/ico/
H A DICO.cpp210 // stupid applications like ArtPaint use the alpha channel in B_RGB32 images...
212 if (color.alpha >= 128)
213 color.alpha = 255;
215 color.alpha = 0;
237 color.alpha = 0;
238 // the alpha channel is actually unused
248 /** This function is used to determine, if a true alpha channel has to
311 // reading the alpha channel failed, so we're ignoring it
362 // set alpha channel
367 outRowData[x].alpha
[all...]
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.cpp43 double alpha = acos((b*b + c*c - a*a) / (2*b*c)); local
46 if (alpha <= M_PI_2 && beta <= M_PI_2) {
/haiku/src/add-ons/tracker/zipomatic/
H A DZipOMaticActivity.cpp233 otherColor.alpha = 50;
247 otherColor.alpha = 50;
/haiku/src/kits/interface/
H A DGradient.cpp33 color.alpha = c.alpha;
44 color.alpha = a;
55 color.alpha = other.color.alpha;
66 color.alpha = 255;
78 color.alpha != other.color.alpha ||
/haiku/src/add-ons/accelerants/ati/
H A Drage128_overlay.cpp48 // 15 bit color has no alpha bits
55 // 16 bit color has no alpha bits
62 | (window->alpha.value & window->alpha.mask) << 24;
H A Dmach64_overlay.cpp94 // 15 bit color has no alpha bits
101 // 16 bit color has no alpha bits
108 | (window->alpha.value & window->alpha.mask) << 24;
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp176 _ReadColorStyle(LittleEndianBuffer& buffer, bool alpha, bool gray) argument
179 if (alpha) {
182 || !buffer.Read(color.alpha))
190 color.alpha = 255;
235 bool alpha = !(gradientFlags & GRADIENT_FLAG_NO_ALPHA); local
245 if (alpha) {
248 || !buffer.Read(color.alpha))
256 color.alpha = 255;
299 // solid color without alpha
304 // solid gray plus alpha
[all...]
/haiku/headers/private/graphics/
H A Dvideo_overlay.h76 overlay_key_color alpha; member in struct:__anon7
/haiku/src/apps/screenshot/
H A DScreenshot.cpp239 uint8 alpha = 255 - bits[3]; local
240 bits[0] = ((areaBits[0] * alpha) >> 8) + bits[0];
241 bits[1] = ((areaBits[1] * alpha) >> 8) + bits[1];
242 bits[2] = ((areaBits[2] * alpha) >> 8) + bits[2];
/haiku/headers/private/interface/
H A DColorConversion.h52 uint8 &blue, uint8 &alpha) const;
/haiku/src/kits/shared/
H A DHSL.cpp50 result.alpha = 255;
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNoScale.h101 *d++ = (c.alpha << 24) | (c.red << 16) | (c.green << 8) | (c.blue);
115 if (c.alpha)
116 *d = (c.alpha << 24) | (c.red << 16)
/haiku/src/servers/app/drawing/
H A DOverlay.cpp254 fWindow.alpha.value = colorKey.alpha >> alphaShift;
258 fWindow.alpha.mask = 0xff >> alphaShift;

Completed in 297 milliseconds

12345678