Home
last modified time | relevance | path

Searched refs:svgInfo (Results 1 – 5 of 5) sorted by relevance

/dports/www/mattermost-server/mattermost-server-6.0.2/app/imaging/
H A Dsvg.go28 svgInfo := SVGInfo{
37 return svgInfo, err
42 svgInfo.Width, _ = strconv.Atoi(viewBoxMatches[3])
43 svgInfo.Height, _ = strconv.Atoi(viewBoxMatches[4])
48 svgInfo.Width, _ = strconv.Atoi(widthMatches[1])
49 svgInfo.Height, _ = strconv.Atoi(heightMatches[1])
54 if svgInfo.Width == 0 || svgInfo.Height == 0 {
55 return svgInfo, errors.New("unable to extract SVG dimensions")
57 return svgInfo, nil
H A Dsvg_test.go48 svgInfo, err := ParseSVG(svg)
52 if svgInfo.Width != width {
53 …"Expecting a width of %d for SVG at index %d, but it was %d instead.", width, index, svgInfo.Width)
56 if svgInfo.Height != height {
57 …pecting a height of %d for SVG at index %d, but it was %d instead.", height, index, svgInfo.Height)
/dports/games/lskat/lskat-21.12.3/src/fromlibkdegames/
H A Dcarddeckinfo.cpp80 QFileInfo svgInfo(QDir(path), svg); in readDecks() local
81 info.svgfile = svgInfo.filePath(); in readDecks()
/dports/cad/fritzing/fritzing-app-0.9.2b/src/mainwindow/
H A Dmainwindow.cpp1541 QFileInfo svgInfo = svgEntryInfoList.at(jx); in loadBundledSketch() local
1542 if (!svgInfo.fileName().contains(prefix, Qt::CaseInsensitive)) continue; in loadBundledSketch()
1544 QFile svgfile(svgInfo.absoluteFilePath()); in loadBundledSketch()
1568 …QString destPath = copyToSvgFolder(svgInfo, false, PartFactory::folderPath(), "contrib"); // cop… in loadBundledSketch()
1600 QFileInfo svgInfo = svgEntryInfoList.at(jx); in copySvg() local
1601 if (svgInfo.fileName().contains(subpath)) { in copySvg()
1602 copyToSvgFolder(svgInfo, false, PartFactory::folderPath(), "contrib"); in copySvg()
1622 QFileInfo svgInfo = svgEntryInfoList.at(jx); in copySvg() local
1623 QString tempPath = svgInfo.fileName(); in copySvg()
1630 QString destPath = copyToSvgFolder(svgInfo, false, PartFactory::folderPath(), "contrib"); in copySvg()
/dports/www/mattermost-server/mattermost-server-6.0.2/app/
H A Dfile.go790 svgInfo, err := imaging.ParseSVG(t.teeInput)
794 if svgInfo.Width > 0 && svgInfo.Height > 0 {
795 t.fileinfo.Width = svgInfo.Width
796 t.fileinfo.Height = svgInfo.Height