Home » U++ Library support » Look and Chameleon Technology » BUG? ImageOp's not HotSpot aware
Re: BUG? ImageOp's not HotSpot aware [message #31832 is a reply to message #30357] |
Wed, 30 March 2011 10:58 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
swapping the hotspots when mirroring is not so good, since it generates a 'negative' Rectangle.
i'd vote for simply keep the hotspots where they are, since it's actually a 'visual' mirroring, not a functional.
color mask is same..
so here are the changes left
@@ -138,6 +138,8 @@ Image ColorMask(const Image& src, Color key)
*t++ = *s;
s++;
}
+ ib.SetHotSpot(src.GetHotSpot());
+ ib.Set2ndSpot(src.Get2ndSpot());
return ib;
}
@@ -586,6 +588,8 @@ Image MirrorHorz(const Image& img)
e--;
}
}
+ ib.SetHotSpot(img.GetHotSpot());
+ ib.Set2ndSpot(img.Get2ndSpot());
return ib;
}
@@ -604,6 +608,8 @@ Image MirrorVert(const Image& img)
e++;
}
}
+ ib.SetHotSpot(img.GetHotSpot());
+ ib.Set2ndSpot(img.Get2ndSpot());
return ib;
}
|
|
|
|
|
BUG? ImageOp's not HotSpot aware
By: kohait00 on Tue, 14 December 2010 11:22
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Tue, 14 December 2010 17:41
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: mirek on Sat, 25 December 2010 20:43
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Sun, 26 December 2010 09:48
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Wed, 30 March 2011 10:58
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: mirek on Sun, 10 April 2011 14:03
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Sun, 10 April 2011 15:57
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: mirek on Sat, 16 April 2011 20:50
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Sun, 17 April 2011 14:32
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: mirek on Sun, 17 April 2011 21:46
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: mirek on Sun, 17 April 2011 21:49
|
|
|
Re: BUG? ImageOp's not HotSpot aware
By: kohait00 on Mon, 18 April 2011 08:27
|
Goto Forum:
Current Time: Sat May 18 02:25:28 CEST 2024
Total time taken to generate the page: 0.02749 seconds
|