diff Framework/Toolbox/ImageGeometry.cpp @ 191:46cb2eedc2e0 wasm

ShearWarpProjectiveTransform
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 16 Mar 2018 15:01:52 +0100
parents 465b294a55f0
children e9c7a78a3e77
line wrap: on
line diff
--- a/Framework/Toolbox/ImageGeometry.cpp	Fri Mar 16 14:35:26 2018 +0100
+++ b/Framework/Toolbox/ImageGeometry.cpp	Fri Mar 16 15:01:52 2018 +0100
@@ -206,7 +206,8 @@
                                      target.GetWidth(), target.GetHeight()))
     {
       const size_t targetPitch = target.GetPitch();
-      uint8_t *targetRow = reinterpret_cast<uint8_t*>(reinterpret_cast<PixelType*>(target.GetRow(y1)) + x1);
+      uint8_t *targetRow = reinterpret_cast<uint8_t*>
+        (reinterpret_cast<PixelType*>(target.GetRow(y1)) + x1);
 
       for (unsigned int y = y1; y <= y2; y++)
       {
@@ -382,7 +383,8 @@
                                      target.GetWidth(), target.GetHeight()))
     {
       const size_t targetPitch = target.GetPitch();
-      uint8_t *targetRow = reinterpret_cast<uint8_t*>(reinterpret_cast<PixelType*>(target.GetRow(y1)) + x1);
+      uint8_t *targetRow = reinterpret_cast<uint8_t*>
+        (reinterpret_cast<PixelType*>(target.GetRow(y1)) + x1);
 
       for (unsigned int y = y1; y <= y2; y++)
       {