Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "BLI_bitmap_draw_2d.h"
#include "BLI_math_geom.h"
#include "BLI_utildefines.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#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 struct Icon_Geom *geom, const unsigned int size_x, const unsigned int size_y) |
void | BKE_icon_geom_invert_lightness (struct Icon_Geom *geom) |
Definition at line 129 of file icons_rasterize.c.
References Icon_Geom::colors, Icon_Geom::coords_len, hsl_to_rgb(), blender::math::length(), usdtokens::rgb(), rgb_float_to_uchar(), rgb_to_hsl_v(), and rgb_uchar_to_float().
Referenced by icon_draw_size().
ImBuf* BKE_icon_geom_rasterize | ( | const struct Icon_Geom * | geom, |
const unsigned int | size_x, | ||
const unsigned int | size_y | ||
) |
Definition at line 70 of file icons_rasterize.c.
References col, Icon_Geom::colors, Icon_Geom::coords, Icon_Geom::coords_len, max_ii(), pos, and rect_size().
Referenced by icon_draw_size().