Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_image.h
| Show First 20 Lines • Show All 324 Lines • ▼ Show 20 Lines | int BKE_image_get_tile_from_pos(struct Image *ima, | ||||
| const float uv[2], | const float uv[2], | ||||
| float r_uv[2], | float r_uv[2], | ||||
| float r_ofs[2]); | float r_ofs[2]); | ||||
| void BKE_image_get_size(struct Image *image, struct ImageUser *iuser, int *r_width, int *r_height); | void BKE_image_get_size(struct Image *image, struct ImageUser *iuser, int *r_width, int *r_height); | ||||
| void BKE_image_get_size_fl(struct Image *image, struct ImageUser *iuser, float r_size[2]); | void BKE_image_get_size_fl(struct Image *image, struct ImageUser *iuser, float r_size[2]); | ||||
| void BKE_image_get_aspect(struct Image *image, float *r_aspx, float *r_aspy); | void BKE_image_get_aspect(struct Image *image, float *r_aspx, float *r_aspy); | ||||
| /* Return the tile_number for the closest UDIM tile */ | |||||
| int BKE_image_find_nearest_tile(struct Image *image, const float co[2]); | |||||
| /* image_gen.c */ | /* image_gen.c */ | ||||
| void BKE_image_buf_fill_color( | void BKE_image_buf_fill_color( | ||||
| unsigned char *rect, float *rect_float, int width, int height, const float color[4]); | unsigned char *rect, float *rect_float, int width, int height, const float color[4]); | ||||
| void BKE_image_buf_fill_checker(unsigned char *rect, float *rect_float, int width, int height); | void BKE_image_buf_fill_checker(unsigned char *rect, float *rect_float, int width, int height); | ||||
| void BKE_image_buf_fill_checker_color(unsigned char *rect, | void BKE_image_buf_fill_checker_color(unsigned char *rect, | ||||
| float *rect_float, | float *rect_float, | ||||
| int width, | int width, | ||||
| int height); | int height); | ||||
| ▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines | |||||