Changeset 2715 for libpipi/trunk/pipi/context.c
- Timestamp:
- Aug 14, 2008, 8:34:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/context.c
r2713 r2715 119 119 char const *arg; 120 120 va_list ap; 121 double w, h ;121 double w, h, a = 0.0; 122 122 123 123 if(ctx->nimages < 1) … … 129 129 arg = strchr(arg, 'x'); 130 130 if(arg) 131 { 131 132 h = atof(arg + 1); 133 arg = strchr(arg, 'r'); 134 if(arg) 135 a = atof(arg + 1); 136 } 132 137 src = ctx->images[ctx->nimages - 1]; 133 dst = pipi_gaussian_blur_ext(src, w, h, 0.0, 0.0);138 dst = pipi_gaussian_blur_ext(src, w, h, a, 0.0, 0.0); 134 139 if(dst == NULL) 135 140 return -1;
Note: See TracChangeset
for help on using the changeset viewer.