Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Attributes = unison.MustSVGFromContentString(attributesData) Back = unison.MustSVGFromContentString(backData) BodyType = unison.MustSVGFromContentString(bodyTypeData) Bookmark = unison.MustSVGFromContentString(bookmarkData) Calculator = unison.MustSVGFromContentString(calculatorData) CircledAdd = unison.MustSVGFromContentString(circledAddData) CircledVerticalEllipsis = unison.MustSVGFromContentString(circledVerticalEllipsisData) ClosedFolder = unison.MustSVGFromContentString(closedFolderData) Coins = unison.MustSVGFromContentString(coinsData) Copy = unison.MustSVGFromContentString(copyData) Database = unison.MustSVGFromContentString(databaseData) DownToBracket = unison.MustSVGFromContentString(downToBracketData) Download = unison.MustSVGFromContentString(downloadData) Edit = unison.MustSVGFromContentString(editData) First = unison.MustSVGFromContentString(firstData) FirstAidKit = unison.MustSVGFromContentString(firstAidKitData) Forward = unison.MustSVGFromContentString(forwardData) GCSCampaign = unison.MustSVGFromContentString(gcsCampaignData) GCSEquipment = unison.MustSVGFromContentString(gcsEquipmentData) GCSEquipmentModifiers = unison.MustSVGFromContentString(gcsEquipmentModifiersData) GCSLoot = unison.MustSVGFromContentString(gcsLootData) GCSNotes = unison.MustSVGFromContentString(gcsNotesData) GCSSheet = unison.MustSVGFromContentString(gcsSheetData) GCSSkills = unison.MustSVGFromContentString(gcsSkillsData) GCSSpells = unison.MustSVGFromContentString(gcsSpellsData) GCSTemplate = unison.MustSVGFromContentString(gcsTemplateData) GCSTraitModifiers = unison.MustSVGFromContentString(gcsTraitModifiersData) GCSTraits = unison.MustSVGFromContentString(gcsTraitsData) Gears = unison.MustSVGFromContentString(gearsData) GenericFile = unison.MustSVGFromContentString(genericFileData) Grip = unison.MustSVGFromContentString(gripData) Help = unison.MustSVGFromContentString(helpData) Hierarchy = unison.MustSVGFromContentString(hierarchyData) ImageFile = unison.MustSVGFromContentString(imageFileData) Info = unison.MustSVGFromContentString(infoData) Last = unison.MustSVGFromContentString(lastData) Link = unison.MustSVGFromContentString(linkData) MarkdownFile = unison.MustSVGFromContentString(markdownFileData) MeleeWeapon = unison.MustSVGFromContentString(meleeWeaponData) Menu = unison.MustSVGFromContentString(menuData) Naming = unison.MustSVGFromContentString(namingData) NewFolder = unison.MustSVGFromContentString(newFolderData) Next = unison.MustSVGFromContentString(nextData) Not = unison.MustSVGFromContentString(notData) NotesCollapse = unison.MustSVGFromContentString(notesCollapseData) NotesExpand = unison.MustSVGFromContentString(notesExpandData) OpenFolder = unison.MustSVGFromContentString(openFolderData) PDFFile = unison.MustSVGFromContentString(pdfFileData) Previous = unison.MustSVGFromContentString(previousData) Randomize = unison.MustSVGFromContentString(randomizeData) RangedWeapon = unison.MustSVGFromContentString(rangedWeaponData) ReleaseNotes = unison.MustSVGFromContentString(releaseNotesData) Reset = unison.MustSVGFromContentString(resetData) Settings = unison.MustSVGFromContentString(settingsData) SideBar = unison.MustSVGFromContentString(sideBarData) SignPost = unison.MustSVGFromContentString(signPostData) SizeToFit = unison.MustSVGFromContentString(sizeToFitData) Stack = unison.MustSVGFromContentString(stackData) Stamper = unison.MustSVGFromContentString(stamperData) Star = unison.MustSVGFromContentString(starData) Trash = unison.MustSVGFromContentString(trashData) Weight = unison.MustSVGFromContentString(weightData) )
Pre-defined SVG images used by GCS.
Functions ¶
func CreateImageFromSVG ¶ added in v5.26.0
CreateImageFromSVG turns one of our svg-as-a-path objects into an actual SVG document, then renders it into an image at the specified square size. Note that this is not currently GPU accelerated, as I haven't added the necessary bits to unison to support scribbling into arbitrary offscreen images yet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.