Home
last modified time | relevance | path

Searched refs:SkSVGRenderContext (Results 1 - 25 of 75) sorted by relevance

123

/third_party/skia/modules/svg/include/
H A DSkSVGFeLighting.h35 sk_sp<SkImageFilter> onMakeImageFilter(const SkSVGRenderContext&,
38 virtual sk_sp<SkImageFilter> makeDistantLight(const SkSVGRenderContext&,
42 virtual sk_sp<SkImageFilter> makePointLight(const SkSVGRenderContext&,
46 virtual sk_sp<SkImageFilter> makeSpotLight(const SkSVGRenderContext&,
50 SkColor resolveLightingColor(const SkSVGRenderContext&) const;
52 SkPoint3 resolveXYZ(const SkSVGRenderContext&,
74 sk_sp<SkImageFilter> makeDistantLight(const SkSVGRenderContext&,
78 sk_sp<SkImageFilter> makePointLight(const SkSVGRenderContext&,
82 sk_sp<SkImageFilter> makeSpotLight(const SkSVGRenderContext&,
103 sk_sp<SkImageFilter> makeDistantLight(const SkSVGRenderContext
[all...]
H A DSkSVGRenderContext.h64 class SkSVGRenderContext { class
69 const SkSVGRenderContext* fCtx;
72 SkSVGRenderContext(SkCanvas*, const sk_sp<SkFontMgr>&,
76 SkSVGRenderContext(const SkSVGRenderContext&);
77 SkSVGRenderContext(const SkSVGRenderContext&, SkCanvas*);
79 SkSVGRenderContext(const SkSVGRenderContext&, const SkSVGNode*);
80 ~SkSVGRenderContext();
[all...]
H A DSkSVGText.h21 void renderText(const SkSVGRenderContext&, SkSVGTextContext*, SkSVGXmlSpace) const;
26 virtual void onShapeText(const SkSVGRenderContext&, SkSVGTextContext*, SkSVGXmlSpace) const = 0;
29 void onRender(const SkSVGRenderContext&) const override {}
32 SkPath onAsPath(const SkSVGRenderContext&) const override;
54 void onShapeText(const SkSVGRenderContext&, SkSVGTextContext*, SkSVGXmlSpace) const override;
71 void onRender(const SkSVGRenderContext&) const override;
73 SkRect onObjectBoundingBox(const SkSVGRenderContext&) const override;
74 SkPath onAsPath(const SkSVGRenderContext&) const override;
100 void onShapeText(const SkSVGRenderContext&, SkSVGTextContext*, SkSVGXmlSpace) const override;
117 void onShapeText(const SkSVGRenderContext
[all...]
H A DSkSVGFe.h40 sk_sp<SkImageFilter> makeImageFilter(const SkSVGRenderContext& ctx,
44 SkRect resolveFilterSubregion(const SkSVGRenderContext&, const SkSVGFilterContext&) const;
51 virtual SkSVGColorspace resolveColorspace(const SkSVGRenderContext&,
55 void applyProperties(SkSVGRenderContext*) const;
67 virtual sk_sp<SkImageFilter> onMakeImageFilter(const SkSVGRenderContext&,
80 SkRect resolveBoundaries(const SkSVGRenderContext&, const SkSVGFilterContext&) const;
H A DSkSVGNode.h20 class SkSVGRenderContext;
107 void render(const SkSVGRenderContext&) const;
108 bool asPaint(const SkSVGRenderContext&, SkPaint*) const;
109 SkPath asPath(const SkSVGRenderContext&) const;
110 SkRect objectBoundingBox(const SkSVGRenderContext&) const;
164 virtual bool onPrepareToRender(SkSVGRenderContext*) const;
166 virtual void onRender(const SkSVGRenderContext&) const = 0;
168 virtual bool onAsPaint(const SkSVGRenderContext&, SkPaint*) const { return false; } in onAsPaint() argument
170 virtual SkPath onAsPath(const SkSVGRenderContext&) const = 0;
176 virtual SkRect onObjectBoundingBox(const SkSVGRenderContext
[all...]
H A DSkSVGGradient.h16 class SkSVGRenderContext;
33 bool onAsPaint(const SkSVGRenderContext&, SkPaint*) const final;
35 virtual sk_sp<SkShader> onMakeShader(const SkSVGRenderContext&,
42 void collectColorStops(const SkSVGRenderContext&, StopPositionArray*, StopColorArray*) const;
43 SkColor4f resolveStopColor(const SkSVGRenderContext&, const SkSVGStop&) const;
H A DSkSVGFilterContext.h19 class SkSVGRenderContext;
41 SkSVGColorspace resolveInputColorspace(const SkSVGRenderContext&,
44 sk_sp<SkImageFilter> resolveInput(const SkSVGRenderContext&, const SkSVGFeInputType&) const;
46 sk_sp<SkImageFilter> resolveInput(const SkSVGRenderContext&, const SkSVGFeInputType&, SkSVGColorspace) const;
57 std::tuple<sk_sp<SkImageFilter>, SkSVGColorspace> getInput(const SkSVGRenderContext&,
H A DSkSVGUse.h29 bool onPrepareToRender(SkSVGRenderContext*) const override;
30 void onRender(const SkSVGRenderContext&) const override;
31 SkPath onAsPath(const SkSVGRenderContext&) const override;
32 SkRect onObjectBoundingBox(const SkSVGRenderContext&) const override;
H A DSkSVGPattern.h14 class SkSVGRenderContext;
34 bool onAsPaint(const SkSVGRenderContext&, SkPaint*) const override;
45 const SkSVGPattern* resolveHref(const SkSVGRenderContext&, PatternAttributes*) const;
46 const SkSVGPattern* hrefTarget(const SkSVGRenderContext&) const;
H A DSkSVGImage.h28 bool onPrepareToRender(SkSVGRenderContext*) const override;
29 void onRender(const SkSVGRenderContext&) const override;
30 SkPath onAsPath(const SkSVGRenderContext&) const override;
31 SkRect onObjectBoundingBox(const SkSVGRenderContext&) const override;
H A DSkSVGContainer.h22 void onRender(const SkSVGRenderContext&) const override;
24 SkPath onAsPath(const SkSVGRenderContext&) const override;
26 SkRect onObjectBoundingBox(const SkSVGRenderContext&) const override;
H A DSkSVGMask.h31 friend class SkSVGRenderContext;
37 SkRect bounds(const SkSVGRenderContext&) const;
38 void renderMask(const SkSVGRenderContext&) const;
H A DSkSVGClipPath.h24 friend class SkSVGRenderContext;
30 SkPath resolveClip(const SkSVGRenderContext&) const;
/third_party/skia/modules/svg/src/
H A DSkSVGRenderContext.cpp8 #include "modules/svg/include/SkSVGRenderContext.h"
179 SkSVGRenderContext::SkSVGRenderContext(SkCanvas* canvas, in SkSVGRenderContext() function in SkSVGRenderContext
195 SkSVGRenderContext::SkSVGRenderContext(const SkSVGRenderContext& other) in SkSVGRenderContext() function in SkSVGRenderContext
196 : SkSVGRenderContext(other.fCanvas, in SkSVGRenderContext()
204 SkSVGRenderContext::SkSVGRenderContext(const SkSVGRenderContext function in SkSVGRenderContext
213 SkSVGRenderContext::SkSVGRenderContext(const SkSVGRenderContext& other, const SkSVGNode* node) SkSVGRenderContext() function in SkSVGRenderContext
[all...]
H A DSkSVGNode.cpp13 #include "modules/svg/include/SkSVGRenderContext.h"
28 void SkSVGNode::render(const SkSVGRenderContext& ctx) const { in render()
29 SkSVGRenderContext localContext(ctx, this); in render()
36 bool SkSVGNode::asPaint(const SkSVGRenderContext& ctx, SkPaint* paint) const { in asPaint()
37 SkSVGRenderContext localContext(ctx); in asPaint()
42 SkPath SkSVGNode::asPath(const SkSVGRenderContext& ctx) const { in asPath()
43 SkSVGRenderContext localContext(ctx); in asPath()
58 SkRect SkSVGNode::objectBoundingBox(const SkSVGRenderContext& ctx) const { in objectBoundingBox()
62 bool SkSVGNode::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
64 this->hasChildren() ? 0 : SkSVGRenderContext in onPrepareToRender()
[all...]
H A DSkSVGFeLighting.cpp14 #include "modules/svg/include/SkSVGRenderContext.h"
38 sk_sp<SkImageFilter> SkSVGFeLighting::onMakeImageFilter(const SkSVGRenderContext& ctx, in onMakeImageFilter()
61 SkColor SkSVGFeLighting::resolveLightingColor(const SkSVGRenderContext& ctx) const { in resolveLightingColor()
72 SkPoint3 SkSVGFeLighting::resolveXYZ(const SkSVGRenderContext& ctx, in resolveXYZ()
94 const SkSVGRenderContext& ctx, in makeDistantLight()
108 sk_sp<SkImageFilter> SkSVGFeSpecularLighting::makePointLight(const SkSVGRenderContext& ctx, in makePointLight()
121 sk_sp<SkImageFilter> SkSVGFeSpecularLighting::makeSpotLight(const SkSVGRenderContext& ctx, in makeSpotLight()
148 const SkSVGRenderContext& ctx, in makeDistantLight()
161 sk_sp<SkImageFilter> SkSVGFeDiffuseLighting::makePointLight(const SkSVGRenderContext& ctx, in makePointLight()
173 sk_sp<SkImageFilter> SkSVGFeDiffuseLighting::makeSpotLight(const SkSVGRenderContext
[all...]
H A DSkSVGText.cpp21 #include "modules/svg/include/SkSVGRenderContext.h"
29 static SkFont ResolveFont(const SkSVGRenderContext& ctx) { in ResolveFont()
228 SkSVGTextContext::SkSVGTextContext(const SkSVGRenderContext& ctx, const ShapedTextCallback& cb,
262 void SkSVGTextContext::shapeFragment(const SkString& txt, const SkSVGRenderContext& ctx,
352 SkSVGTextContext::PathData::PathData(const SkSVGRenderContext& ctx, const SkSVGTextPath& tpath)
411 void SkSVGTextContext::flushChunk(const SkSVGRenderContext& ctx) { in flushChunk()
474 void SkSVGTextFragment::renderText(const SkSVGRenderContext& ctx, SkSVGTextContext* tctx, in renderText()
478 SkSVGRenderContext localContext(ctx); in renderText()
485 SkPath SkSVGTextFragment::onAsPath(const SkSVGRenderContext&) const { in onAsPath()
511 void SkSVGTextContainer::onShapeText(const SkSVGRenderContext
[all...]
H A DSkSVGTextPriv.h12 #include "modules/svg/include/SkSVGRenderContext.h"
35 using ShapedTextCallback = std::function<void(const SkSVGRenderContext&,
108 SkSVGTextContext(const SkSVGRenderContext&,
114 void shapeFragment(const SkString&, const SkSVGRenderContext&, SkSVGXmlSpace);
117 void flushChunk(const SkSVGRenderContext& ctx);
159 PathData(const SkSVGRenderContext&, const SkSVGTextPath&);
184 const SkSVGRenderContext& fRenderContext; // original render context
H A DSkSVGUse.cpp11 #include "modules/svg/include/SkSVGRenderContext.h"
27 bool SkSVGUse::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
33 // Restored when the local SkSVGRenderContext leaves scope. in onPrepareToRender()
43 void SkSVGUse::onRender(const SkSVGRenderContext& ctx) const { in onRender()
52 SkPath SkSVGUse::onAsPath(const SkSVGRenderContext& ctx) const { in onAsPath()
61 SkRect SkSVGUse::onObjectBoundingBox(const SkSVGRenderContext& ctx) const { in onObjectBoundingBox()
H A DSkSVGFe.cpp12 #include "modules/svg/include/SkSVGRenderContext.h"
14 sk_sp<SkImageFilter> SkSVGFe::makeImageFilter(const SkSVGRenderContext& ctx, in makeImageFilter()
19 SkRect SkSVGFe::resolveBoundaries(const SkSVGRenderContext& ctx, in resolveBoundaries()
54 SkRect SkSVGFe::resolveFilterSubregion(const SkSVGRenderContext& ctx, in resolveFilterSubregion()
84 SkSVGColorspace SkSVGFe::resolveColorspace(const SkSVGRenderContext& ctx, in resolveColorspace()
91 void SkSVGFe::applyProperties(SkSVGRenderContext* ctx) const { this->onPrepareToRender(ctx); } in applyProperties()
H A DSkSVGPattern.cpp12 #include "modules/svg/include/SkSVGRenderContext.h"
28 const SkSVGPattern* SkSVGPattern::hrefTarget(const SkSVGRenderContext& ctx) const { in hrefTarget()
60 const SkSVGPattern* SkSVGPattern::resolveHref(const SkSVGRenderContext& ctx, in resolveHref()
90 bool SkSVGPattern::onAsPaint(const SkSVGRenderContext& ctx, SkPaint* paint) const { in onAsPaint()
109 SkSVGRenderContext recordingContext(ctx, recorder.beginRecording(tile)); in onAsPaint()
H A DSkSVGImage.cpp12 #include "modules/svg/include/SkSVGRenderContext.h"
27 bool SkSVGImage::onPrepareToRender(SkSVGRenderContext* ctx) const { in onPrepareToRender()
79 void SkSVGImage::onRender(const SkSVGRenderContext& ctx) const { in onRender()
95 SkPath SkSVGImage::onAsPath(const SkSVGRenderContext&) const { return {}; } in onAsPath()
97 SkRect SkSVGImage::onObjectBoundingBox(const SkSVGRenderContext& ctx) const { in onObjectBoundingBox()
H A DSkSVGContainer.cpp32 void SkSVGContainer::onRender(const SkSVGRenderContext& ctx) const { in onRender()
38 SkPath SkSVGContainer::onAsPath(const SkSVGRenderContext& ctx) const { in onAsPath()
51 SkRect SkSVGContainer::onObjectBoundingBox(const SkSVGRenderContext& ctx) const { in onObjectBoundingBox()
H A DSkSVGMask.cpp12 #include "modules/svg/include/SkSVGRenderContext.h"
26 SkRect SkSVGMask::bounds(const SkSVGRenderContext& ctx) const { in bounds()
30 void SkSVGMask::renderMask(const SkSVGRenderContext& ctx) const { in renderMask()
38 SkSVGRenderContext lctx(ctx); in renderMask()
H A DSkSVGFilterContext.cpp13 #include "modules/svg/include/SkSVGRenderContext.h"
68 const SkSVGRenderContext& ctx, const SkSVGFeInputType& inputType) const { in getInput()
123 const SkSVGRenderContext& ctx, const SkSVGFeInputType& inputType) const { in resolveInputColorspace()
127 sk_sp<SkImageFilter> SkSVGFilterContext::resolveInput(const SkSVGRenderContext& ctx, in resolveInput()
132 sk_sp<SkImageFilter> SkSVGFilterContext::resolveInput(const SkSVGRenderContext& ctx, in resolveInput()

Completed in 9 milliseconds

123