aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsimage.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsimage.m')
-rw-r--r--src/nsimage.m12
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
202void
203ns_image_set_smoothing (void *img, bool smooth)
204{
205 [(EmacsImage *)img setSmoothing:smooth];
206}
207
202unsigned long 208unsigned long
203ns_get_pixel (void *img, int x, int y) 209ns_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