From ee99e8a91f257a9fa76f91159057f2d21acdb5f6 Mon Sep 17 00:00:00 2001 From: Larry Gritz Date: Fri, 26 Jul 2024 09:04:56 -0700 Subject: [PATCH] docs: clarify that IBA::rotate params are pixel coordinates (#4358) As suggested by Moritz Moeller Signed-off-by: Larry Gritz --- src/include/OpenImageIO/imagebufalgo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/OpenImageIO/imagebufalgo.h b/src/include/OpenImageIO/imagebufalgo.h index dd5403f348..fcc78e1aa9 100644 --- a/src/include/OpenImageIO/imagebufalgo.h +++ b/src/include/OpenImageIO/imagebufalgo.h @@ -580,8 +580,8 @@ bool OIIO_API circular_shift (ImageBuf &dst, const ImageBuf &src, /// /// Rotate the `src` image by the `angle` (in radians, with positive angles /// clockwise). When `center_x` and `center_y` are supplied, they denote the -/// center of rotation; in their absence, the rotation will be about the -/// center of the image's display window. +/// center of rotation, in pixel coordinates; in their absence, the rotation +/// will be about the center of the image's display window. /// /// Only the pixels (and channels) of `dst` that are specified by `roi` will /// be copied from the rotated `src`; the default `roi` is to alter all the