diff options
Diffstat (limited to 'src/nsimage.m')
| -rw-r--r-- | src/nsimage.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nsimage.m b/src/nsimage.m index 07750de95fe..966e7044f12 100644 --- a/src/nsimage.m +++ b/src/nsimage.m | |||
| @@ -199,6 +199,12 @@ ns_image_set_transform (void *img, double m[3][3]) | |||
| 199 | [(EmacsImage *)img setTransform:m]; | 199 | [(EmacsImage *)img setTransform:m]; |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | void | ||
| 203 | ns_image_set_smoothing (void *img, bool smooth) | ||
| 204 | { | ||
| 205 | [(EmacsImage *)img setSmoothing:smooth]; | ||
| 206 | } | ||
| 207 | |||
| 202 | unsigned long | 208 | unsigned long |
| 203 | ns_get_pixel (void *img, int x, int y) | 209 | ns_get_pixel (void *img, int x, int y) |
| 204 | { | 210 | { |
| @@ -591,4 +597,10 @@ ns_set_alpha (void *img, int x, int y, unsigned char a) | |||
| 591 | [transform setTransformStruct:tm]; | 597 | [transform setTransformStruct:tm]; |
| 592 | } | 598 | } |
| 593 | 599 | ||
| 600 | - (void)setSmoothing: (BOOL) s | ||
| 601 | { | ||
| 602 | smoothing = s; | ||
| 603 | } | ||
| 604 | |||
| 605 | |||
| 594 | @end | 606 | @end |