arsd-official ~master (2024-10-25T16:17:57Z)
Dub
Repo
nsvgParseFromFile
arsd
svg
NSVG
*
nsvgParseFromFile
(const(char)[] filename, const(char)[] units, float dpi, int canvaswdt, int canvashgt)
NSVG
*
nsvgParseFromFile
(ST fi, const(char)[] units, float dpi, int canvaswdt, int canvashgt)
nothrow
static if
(
NanoSVGHasIVVFS
)
NSVG
*
nsvgParseFromFile
(
ST
)
(
auto
ref
ST
fi
,
const
(
char
)[]
units
= "px"
,
float
dpi
= 96
,
int
canvaswdt
= -1
,
int
canvashgt
= -1
)
if
(
isReadableStream
!
ST
&&
isSeekableStream
!
ST
&&
streamHasSize
!
ST
)
Meta
Source
See Implementation
arsd
svg
enums
NSVGDefaults
functions
kill
nsvgCreateRasterizer
nsvgParse
nsvgParseFromFile
nsvg__curveBounds
nsvg__evalBezier
nsvg__ptInBounds
nsvg__xformIdentity
nsvg__xformInverse
nsvg__xformMultiply
nsvg__xformPoint
nsvg__xformPremultiply
nsvg__xformSetRotation
nsvg__xformSetScale
nsvg__xformSetSkewX
nsvg__xformSetSkewY
nsvg__xformSetTranslation
nsvg__xformVec
rasterize
manifest constants
NSVG_EPSILON
NSVG_PI
structs
NSVG