Lines Matching defs:scale_factor
914 scale_factor;
974 scale_factor=(double) icon_size->max_width/width;
975 if (scale_factor > ((double) icon_size->max_height/height))
976 scale_factor=(double) icon_size->max_height/height;
980 if (icon_width >= (unsigned int) (scale_factor*width+0.5))
987 if (icon_height >= (unsigned int) (scale_factor*height+0.5))