mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1338388 - Part 6: stylo: Support stroke-dasharray and stroke-dashoffset; r=heycam
MozReview-Commit-ID: 4QKKzJ1DVYP --HG-- extra : rebase_source : 6d350a8ed3b5e157651edad155de2b92e042ae99
This commit is contained in:
parent
a1953373cd
commit
3fef7c9e57
@ -1085,6 +1085,19 @@ void Gecko_nsStyleSVGPaint_Reset(nsStyleSVGPaint* aPaint)
|
||||
aPaint->SetNone();
|
||||
}
|
||||
|
||||
void
|
||||
Gecko_nsStyleSVG_SetDashArrayLength(nsStyleSVG* aSvg, uint32_t aLen)
|
||||
{
|
||||
aSvg->mStrokeDasharray.Clear();
|
||||
aSvg->mStrokeDasharray.SetLength(aLen);
|
||||
}
|
||||
|
||||
void
|
||||
Gecko_nsStyleSVG_CopyDashArray(nsStyleSVG* aDst, const nsStyleSVG* aSrc)
|
||||
{
|
||||
aDst->mStrokeDasharray = aSrc->mStrokeDasharray;
|
||||
}
|
||||
|
||||
css::URLValue*
|
||||
Gecko_NewURLValue(ServoBundledURI aURI)
|
||||
{
|
||||
|
@ -299,6 +299,9 @@ void Gecko_nsStyleSVGPaint_CopyFrom(nsStyleSVGPaint* dest, const nsStyleSVGPaint
|
||||
void Gecko_nsStyleSVGPaint_SetURLValue(nsStyleSVGPaint* paint, ServoBundledURI uri);
|
||||
void Gecko_nsStyleSVGPaint_Reset(nsStyleSVGPaint* paint);
|
||||
|
||||
void Gecko_nsStyleSVG_SetDashArrayLength(nsStyleSVG* svg, uint32_t len);
|
||||
void Gecko_nsStyleSVG_CopyDashArray(nsStyleSVG* dst, const nsStyleSVG* src);
|
||||
|
||||
mozilla::css::URLValue* Gecko_NewURLValue(ServoBundledURI uri);
|
||||
NS_DECL_THREADSAFE_FFI_REFCOUNTING(mozilla::css::URLValue, CSSURLValue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user