Next: , Previous: , Up: API  


1.4 (ggg svg)

1.4.1 Procedures

Procedure: get-path-for-svg name KEY: #:resources

Undocumented procedure.

Procedure: ggg-logos KEY: #:resources

Undocumented procedure.

Procedure: length-for-text text-length KEY: #:font-size

Estimates text container widths in pixels. It looks up a rough width per character based on the font size. Then, it multiplies this by the number of characters and adds some padding. Finally, it slightly adjusts the width based on whether the text is very short, short, medium, or long to make the badge look better. It rounds the final width to a whole number.

Procedure: mk-simple-svg id KEY: #:resources #:width #:height #:view-box #:fill #:fill-rule #:clip-rule #:x #:y

Undocumented procedure.