drawshield / Drawshield-Code

PHP code to create SVG shield images from Blazons, as used on drawshield.net
https://drawshield.net
GNU General Public License v3.0
49 stars 17 forks source link

Charges that need offset centres #596

Closed karlwilcox closed 1 year ago

karlwilcox commented 1 year ago

Could you add metadata values of midX and midY to the following charges found in the "Simple shapes" category? Triangle - DONE Valknut - DONE Penrose triangle - DONE Pentagon - DONE Hexagon - DONE Octagon - DONE together with their pierced and voided variants. Also the polygons should always be regular by default, regardless of the angle of rotation and the positioning inside the shield, similarly to how the mullets behave. (edited)

Test Examples:

!test arg a mullet of 20 shown stroked or much larger a mullet shown stroked gu rotated to sinister a mullet a mullet shown stroked az rotated to dexter a mullet shown stroked vert very much rotated to dexter transparent

!test arg a mullet of 20 shown stroked or much larger a pentagon shown stroked gu rotated to sinister a pentagon a pentagon shown stroked az rotated to dexter a pentagon shown stroked vert very much rotated to dexter transparent

!test arg a mullet of 20 shown stroked or much larger higher a pentagon shown stroked gu rotated to sinister a pentagon a pentagon shown stroked az rotated to dexter a pentagon shown stroked vert very much rotated to dexter transparent

karlwilcox commented 1 year ago

On dev system soon