drawshield / drawshield/Drawshield-Code

Charge Orientation re-work

未关闭
#69 1 条评论 0 个 reaction 已指派 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 摘要。