3 #include "indexable.inc"
7 enum { none, scaled, cropped, filled, horiz_edge, vert_edge, n_scale_types };
8 static const char *scale_types[];
10 Rescale(int w, int h, double aspect);
11 Rescale(Indexable *in);
17 void rescale(Rescale &out, int type,
18 float &src_w,float &src_h, float &dst_w,float &dst_h);