#include <fack.hpp>
Public Member Functions | |
anim_frame (int w, int h, int_pair hot_spot, float duration) | |
anim_frame (int w, int h, int_pair hot_spot, float duration, const vector< rgbaf > &pixels) | |
anim_frame () | |
bool | point_in_surf (int_pair p, int_pair pl, float scaling) const |
See doc/point-in-surf.xcf for an explanation. | |
void | set_pixel (int x, int y, rgbaf pix) |
rgbaf | get_pixel (int x, int y) const |
rgbaf | get_pixel_with_interpolation (float px, float py) const |
Static Public Member Functions | |
static pt< anim_frame > | from_sdl_surface (SDL_Surface *s, int_pair hot_spot, float duration) |
Public Attributes | |
int | w |
int | h |
vector< rgbaf > | pixels |
int_pair | hot_spot |
float | duration |
|
Definition at line 765 of file fack.hpp. References pixels. |
|
Definition at line 773 of file fack.hpp. References pixels. |
|
Definition at line 783 of file fack.hpp. Referenced by from_sdl_surface(). |
|
Definition at line 145 of file fack.cc. References anim_frame(), h, NEW, and rgbaf_of_rgbai(). Referenced by my_game::my_game(). |
|
Definition at line 2835 of file fack.hpp. Referenced by get_pixel_with_interpolation(), and point_in_surf(). |
|
Definition at line 2751 of file fack.hpp. References get_pixel(), h, max(), min(), mul_scalar_rgbaf(), sum_rgbaf(), and w. |
|
See doc/point-in-surf.xcf for an explanation.
Definition at line 4437 of file fack.cc. References rgbaf::a, get_pixel(), hot_spot, int_pair::x, and int_pair::y. |
|
|
|
|
|
Definition at line 760 of file fack.hpp. Referenced by from_sdl_surface(), get_pixel(), get_pixel_with_interpolation(), and set_pixel(). |
|
Definition at line 762 of file fack.hpp. Referenced by point_in_surf(). |
|
Definition at line 761 of file fack.hpp. Referenced by anim_frame(), get_pixel(), and set_pixel(). |
|
Definition at line 760 of file fack.hpp. Referenced by get_pixel(), get_pixel_with_interpolation(), and set_pixel(). |