|
Blender V4.3
|
#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 Icon_Geom::colors, Icon_Geom::coords_len, hsl_to_rgb(), length(), rgb_float_to_uchar(), rgb_to_hsl_v(), and rgb_uchar_to_float().
Referenced by icon_draw_size().
Definition at line 72 of file icons_rasterize.cc.
References ARRAY_SET_ITEMS, BLI_bitmap_draw_2d_tri_v2i(), Box, ImBuf::byte_buffer, col, Icon_Geom::colors, Icon_Geom::coords, Icon_Geom::coords_len, data, ImBufByteBuffer::data, float, IB_rect, IMB_allocImBuf(), IMB_scale(), max_ii(), pos, rect_size(), UserRasterInfo::rect_size, tri_fill_flat(), tri_fill_smooth(), UNPACK2, UNPACK2_EX, UNPACK3, and UNPACK4_EX.
Definition at line 33 of file icons_rasterize.cc.
References col, and UserRasterInfo::rect.
Referenced by BKE_icon_geom_rasterize().
Definition at line 43 of file icons_rasterize.cc.
References barycentric_weights_v2_clamped(), col, float, UserRasterInfo::rect, UNPACK3, and w().
Referenced by BKE_icon_geom_rasterize().