mIRC Home    About    Download    Register    News    Help

Print Thread
#260312 29/03/17 03:12 AM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
I'd like to see a draw command for creating a mirror image:

Code:
/drawflip -ihnvfcm @window x y w h [x y [w h]]
    Performs a horizontal flip on a portion of the image

    -ihn: same as /drawdot

    -v: Preforms a vertical flip

    -f: Resizes the image to fit within the specified [w h]*
    -c: Centers the image within the specified [w h]*
    -m: Changes the stretch mode quality*

    *: Only applicable if the optional [w h] is specified

    x y w h: The portion of the image to flip

    [x y [w h]]: The location of where the flipped image
                 should be placed and what area it should
                 fill.


I am SReject
My Stuff
FroggieDaFrog #260319 29/03/17 12:28 PM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
This has been suggested in the past I think.

Not a bad idea but I'd say that you can do it with /drawcopy without a lot of extra slowing down anything.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #260320 29/03/17 12:38 PM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
you can't create a mirror image with /drawcopy -- for example you couldn't draw '{_' then use /drawcopy to get '_}'

Last edited by FroggieDaFrog; 29/03/17 12:40 PM.

I am SReject
My Stuff
FroggieDaFrog #260321 29/03/17 12:44 PM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Nah, not sure where you got that assumption but you certainly can.
You can use negative width and height after the coordinates where you want the image to be copied to.
You can even use negative width and height when defining the full size of the copied bitmap.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard