|
Blender V4.5
|
#include "BLI_bitmap_draw_2d.h"#include "BLI_math_color.h"#include "BLI_math_geom.h"#include "BLI_utildefines.h"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "BKE_icons.h"#include "BLI_strict_flags.h"Go to the source code of this file.
Classes | |
| struct | UserRasterInfo |
Functions | |
| static void | tri_fill_flat (int x, int x_end, int y, void *user_data) |
| static void | tri_fill_smooth (int x, int x_end, int y, void *user_data) |
| ImBuf * | BKE_icon_geom_rasterize (const Icon_Geom *geom, const uint size_x, const uint size_y) |
| void | BKE_icon_geom_invert_lightness (Icon_Geom *geom) |
| void BKE_icon_geom_invert_lightness | ( | Icon_Geom * | geom | ) |
Definition at line 129 of file icons_rasterize.cc.
References BKE_icon_geom_invert_lightness(), Icon_Geom::colors, Icon_Geom::coords_len, hsl_to_rgb(), i, length(), rgb_float_to_uchar(), rgb_to_hsl_v(), and rgb_uchar_to_float().
Referenced by BKE_icon_geom_invert_lightness(), BKE_icon_geom_rasterize(), and icon_draw_size().
Definition at line 72 of file icons_rasterize.cc.
References ARRAY_SET_ITEMS, BKE_icon_geom_rasterize(), BLI_bitmap_draw_2d_tri_v2i(), Box, ImBuf::byte_buffer, Icon_Geom::colors, Icon_Geom::coords, Icon_Geom::coords_len, data, ImBufByteBuffer::data, IB_byte_data, IMB_allocImBuf(), IMB_scale(), max_ii(), rect_size(), tri_fill_flat(), tri_fill_smooth(), UNPACK2, UNPACK2_EX, UNPACK3, and UNPACK4_EX.
|
static |
Definition at line 33 of file icons_rasterize.cc.
References data, tri_fill_flat(), x, and y.
Referenced by BKE_icon_geom_rasterize(), and tri_fill_flat().
|
static |
Definition at line 43 of file icons_rasterize.cc.
References barycentric_weights_v2_clamped(), data, tri_fill_smooth(), UNPACK3, w(), x, and y.
Referenced by BKE_icon_geom_rasterize(), and tri_fill_smooth().