Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_image.h
| Show First 20 Lines • Show All 319 Lines • ▼ Show 20 Lines | |||||
| struct ImageTile *BKE_image_get_tile(struct Image *ima, int tile_number); | struct ImageTile *BKE_image_get_tile(struct Image *ima, int tile_number); | ||||
| struct ImageTile *BKE_image_get_tile_from_iuser(struct Image *ima, const struct ImageUser *iuser); | struct ImageTile *BKE_image_get_tile_from_iuser(struct Image *ima, const struct ImageUser *iuser); | ||||
| int BKE_image_get_tile_from_pos(struct Image *ima, | 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]); | ||||
| int BKE_image_find_nearest_tile(const struct Image *image, const float co[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); | ||||
| /* 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]); | ||||
| ▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines | |||||