
Functions | |
| uchar | ShiftComponent (uchar component, float percent) |
| rgb_color | ShiftColor (rgb_color color, float percent) |
| static bool | CompareColors (const rgb_color a, const rgb_color b) |
| bool | operator== (const rgb_color &a, const rgb_color &b) |
| bool | operator!= (const rgb_color &a, const rgb_color &b) |
| void | ReplaceColor (BBitmap *bitmap, rgb_color from, rgb_color to) |
| void | ReplaceTransparentColor (BBitmap *bitmap, rgb_color with) |
| void | ycbcr_to_rgb (uint8 y, uint8 cb, uint8 cr, uint8 &r, uint8 &g, uint8 &b) |
| void | mix_colors (uint8 ra, uint8 ga, uint8 ba, uint8 rb, uint8 gb, uint8 bb, uint8 &r, uint8 &g, uint8 &b, float mixLevel) |
| status_t | scale_bitmap (BBitmap *bitmap, uint32 fromWidth, uint32 fromHeight) |
| status_t | convert_bitmap (BBitmap *inBitmap, BBitmap *outBitmap) |
| uint8 | clip_float (float value) |
| status_t | dim_bitmap (BBitmap *bitmap, rgb_color center, float dimLevel) |
| rgb_color | dimmed_color_cmap8 (rgb_color color, rgb_color center, float dimLevel) |
| uint8 clip_float | ( | float | value | ) | [inline] |
Referenced by dim_bitmap(), and dimmed_color_cmap8().
| static bool CompareColors | ( | const rgb_color | a, | |
| const rgb_color | b | |||
| ) | [static] |
Referenced by operator!=(), and operator==().
| status_t convert_bitmap | ( | BBitmap * | inBitmap, | |
| BBitmap * | outBitmap | |||
| ) |
References scale_bitmap(), and ycbcr_to_rgb().
| status_t dim_bitmap | ( | BBitmap * | bitmap, | |
| rgb_color | center, | |||
| float | dimLevel | |||
| ) |
References c, clip_float(), and i.
| rgb_color dimmed_color_cmap8 | ( | rgb_color | color, | |
| rgb_color | center, | |||
| float | dimLevel | |||
| ) |
| void mix_colors | ( | uint8 | ra, | |
| uint8 | ga, | |||
| uint8 | ba, | |||
| uint8 | rb, | |||
| uint8 | gb, | |||
| uint8 | bb, | |||
| uint8 & | r, | |||
| uint8 & | g, | |||
| uint8 & | b, | |||
| float | mixLevel | |||
| ) | [inline] |
Referenced by scale_bitmap().
| bool operator!= | ( | const rgb_color & | a, | |
| const rgb_color & | b | |||
| ) |
References CompareColors().
| bool operator== | ( | const rgb_color & | a, | |
| const rgb_color & | b | |||
| ) |
References CompareColors().
| void ReplaceColor | ( | BBitmap * | bitmap, | |
| rgb_color | from, | |||
| rgb_color | to | |||
| ) |
| void ReplaceTransparentColor | ( | BBitmap * | bitmap, | |
| rgb_color | with | |||
| ) |
Referenced by TransportButton::MakeBitmap().
| status_t scale_bitmap | ( | BBitmap * | bitmap, | |
| uint32 | fromWidth, | |||
| uint32 | fromHeight | |||
| ) |
| rgb_color ShiftColor | ( | rgb_color | color, | |
| float | percent | |||
| ) |
References ShiftComponent().
| uchar ShiftComponent | ( | uchar | component, | |
| float | percent | |||
| ) | [inline] |
Referenced by ShiftColor().
| void ycbcr_to_rgb | ( | uint8 | y, | |
| uint8 | cb, | |||
| uint8 | cr, | |||
| uint8 & | r, | |||
| uint8 & | g, | |||
| uint8 & | b | |||
| ) | [inline] |
Referenced by convert_bitmap().
1.5.6