drawshield / drawshield/Drawshield-Code

Charge Orientation re-work

オープン
#69 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement Medium
主要言語
PHP
スター
60
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

説明

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](https://user-images.githubusercontent.com/3171760/79645460-82ab3000-81a7-11ea-9ce9-94b73160df4f.png)

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。