Drawshield-Code icon indicating copy to clipboard operation
Drawshield-Code copied to clipboard

Charge Orientation re-work

Open karlwilcox opened this issue 4 years ago • 1 comments

Implement the following:

As part of their metadata, charges have an "aspect", with values of "landscape" or "portrait". This can be specified explicitly in extradata.inc, or be calculated. $aspect = $height > $width ? "portrait" : "landscape";

Charges also have a "facing" direction, with values "left", "right", "up", "down" or "none". This can be specified explicitly, or have the default value "left".

At least some of the combinations are to be implemented as shown below:

orientation

These metadata items will also be used to determine whether (and how) charges are oriented in line with any ordinaries that they are placed "on".

More details to follow.

karlwilcox avatar Apr 18 '20 18:04 karlwilcox