Mirror effect with Brush
Posted: Tue Feb 28, 2012 12:27 pm
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?