drawshield / drawshield/Drawshield-Code
Charge Orientation re-work
- Vorherrschende Sprache
- PHP
- Sterne
- 60
- Forks
- 21
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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:

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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.