Mirror effect with Brush
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
Mirror effect with Brush
Hi, I'm working in a single program to handle pictures and I'm working with the mirror effect with the pictures with brushes, I work with the instruction TransformBrush(id, sx, rx, ry, sy, smooth) and well, I tested to the sx, rx, ry, sy only work fine with math instructions cos and sin, and I only got with TransformBrush(1, -Cos(360), Sin(360), Sin(360), -Cos(360), smooth) did to altmos the mirror effect, with other variants to angles and + or - the cos and sin give other rotations but not mirrors, and with the options to rx and ry to 0 the brush only makes the mirror to 180º and with poor quality, how correct this effect?
Re: Mirror effect with Brush
How about using FlipBrush() function for mirroring?
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Mirror effect with Brush
Uffss, jalih, it entered inside my mind the TrasformBrush to do the rotate that I forget other ways, thank you jalih for the help.
- Juan Carlos
- Posts: 933
- Joined: Mon Sep 06, 2010 1:02 pm
Re: Mirror effect with Brush
Thank you jalih with FlipBrush I did it, my few free time and programming to fast in this little time have this problems.