Go back to Efl.Gfx.Filter.
Apply a geometrical transformation to a buffer.
This operation does not blend and assumes the destination buffer is empty.
transform ({ dst, op = 'vflip', src = input, oy = 0 })
dst | Destination buffer. Must be of the same colorspace as src. Must be specified. |
op | Must be “vflip” . There is no other operation yet. |
src | Source buffer to transform. |
oy | Y offset. |
This will create a mirrored text effect, for a font of 50px.
t = buffer ('alpha') transform ({ oy = 20, dst = t }) blend ({ src = t, color = '#fff8' }) blend ({ color = 'white' })