Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_image.h
| Show First 20 Lines • Show All 421 Lines • ▼ Show 20 Lines | int BKE_image_get_tile_from_pos(struct Image *ima, | ||||
| float r_ofs[2]); | float r_ofs[2]); | ||||
| void BKE_image_get_tile_uv(const struct Image *ima, const int tile_number, float r_uv[2]); | void BKE_image_get_tile_uv(const struct Image *ima, const int tile_number, float r_uv[2]); | ||||
| /** | /** | ||||
| * Return the tile_number for the closest UDIM tile to `co`. | * Return the tile_number for the closest UDIM tile to `co`. | ||||
| */ | */ | ||||
| int BKE_image_find_nearest_tile_with_offset(const struct Image *image, | int BKE_image_find_nearest_tile_with_offset(const struct Image *image, | ||||
| const float co[2], | const float co[2], | ||||
| float r_uv_offset[2]) ATTR_NONNULL(1, 2, 3); | float r_uv_offset[2]) ATTR_NONNULL(2, 3); | ||||
| int BKE_image_find_nearest_tile(const struct Image *image, const float co[2]) | int BKE_image_find_nearest_tile(const struct Image *image, const float co[2]) | ||||
| ATTR_NONNULL(1, 2) ATTR_WARN_UNUSED_RESULT; | ATTR_NONNULL(2) ATTR_WARN_UNUSED_RESULT; | ||||
| 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); | ||||
| /* image_gen.c */ | /* image_gen.c */ | ||||
| void BKE_image_buf_fill_color( | void BKE_image_buf_fill_color( | ||||
| ▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines | |||||