[12 Feb 2008] Request for a New Directional Function
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 12 Feb 2008 06:39:58 -0000
Hi Andreas,
Would it be possible for you to add a directional function, perhaps something like this...
This would display brush 1 centered at x=250 (left edge at 200 if the brush's width is 100) and having its bottom edge at y=300 (top edge at 200 if the brush's height is 100)
Thank you for your consideration.
Hi Andreas,
Would it be possible for you to add a directional function, perhaps something like this...
Code: Select all
NAME:
Align()
SYNOPSIS:
Align(direction, placement)
FUNCTION:
This is a function to give more flexibility to the placement of objects (#BRUSH, #BRUSHPART, #LAYER, #TEXTOBJECTS,#ANIM) when they are displayed.
INPUTS :
direction---either #CENTER (centers the object either horizontally or vertically), or #OPPEDGE (uses the opposite edge of the object for alignment---either the Bottom edge or the Right edge)
placement---depending on the specified direction, either an X or Y variable
EXAMPLE:
DisplayBrush(1, Align(#CENTER, 250), Align(#OPPEDGE, 300)
Thank you for your consideration.