Searched refs:ctx (Results 1 - 25 of 156) sorted by relevance

1234567

/inkscape/src/extension/internal/
H A Dcairo-renderer.h47 void destroyContext(CairoRenderContext *ctx);
49 void setStateForItem(CairoRenderContext *ctx, SPItem const *item);
51 void applyClipPath(CairoRenderContext *ctx, SPClipPath const *cp);
52 void applyMask(CairoRenderContext *ctx, SPMask const *mask);
57 bool setupDocument(CairoRenderContext *ctx, SPDocument *doc, bool pageBoundingBox, float bleedmargin_px, SPItem *base);
60 void renderItem(CairoRenderContext *ctx, SPItem *item);
61 void renderHatchPath(CairoRenderContext *ctx, SPHatchPath const &hatchPath, unsigned key);
H A Dcairo-renderer.cpp137 CairoRenderer::destroyContext(CairoRenderContext *ctx) argument
139 delete ctx;
149 static void sp_item_invoke_render(SPItem *item, CairoRenderContext *ctx);
150 static void sp_group_render(SPGroup *group, CairoRenderContext *ctx);
151 static void sp_use_render(SPUse *use, CairoRenderContext *ctx);
152 static void sp_shape_render(SPShape *shape, CairoRenderContext *ctx);
153 static void sp_text_render(SPText *text, CairoRenderContext *ctx);
154 static void sp_flowtext_render(SPFlowtext *flowtext, CairoRenderContext *ctx);
155 static void sp_image_render(SPImage *image, CairoRenderContext *ctx);
156 static void sp_symbol_render(SPSymbol *symbol, CairoRenderContext *ctx);
159 sp_shape_render_invoke_marker_rendering(SPMarker* marker, Geom::Affine tr, SPStyle* style, CairoRenderContext *ctx) argument
182 sp_shape_render(SPShape *shape, CairoRenderContext *ctx) argument
320 sp_group_render(SPGroup *group, CairoRenderContext *ctx) argument
334 sp_use_render(SPUse *use, CairoRenderContext *ctx) argument
355 sp_text_render(SPText *text, CairoRenderContext *ctx) argument
360 sp_flowtext_render(SPFlowtext *flowtext, CairoRenderContext *ctx) argument
365 sp_image_render(SPImage *image, CairoRenderContext *ctx) argument
398 sp_symbol_render(SPSymbol *symbol, CairoRenderContext *ctx) argument
438 sp_root_render(SPRoot *root, CairoRenderContext *ctx) argument
456 sp_asbitmap_render(SPItem *item, CairoRenderContext *ctx) argument
537 sp_item_invoke_render(SPItem *item, CairoRenderContext *ctx) argument
600 setStateForItem(CairoRenderContext *ctx, SPItem const *item) argument
622 renderItem(CairoRenderContext *ctx, SPItem *item) argument
644 renderHatchPath(CairoRenderContext *ctx, SPHatchPath const &hatchPath, unsigned key) argument
660 setupDocument(CairoRenderContext *ctx, SPDocument *doc, bool pageBoundingBox, float bleedmargin_px, SPItem *base) argument
719 applyClipPath(CairoRenderContext *ctx, SPClipPath const *cp) argument
756 sp_item_invoke_render(const_cast<SPItem *>(item), ctx); local
775 applyMask(CairoRenderContext *ctx, SPMask const *mask) argument
[all...]
H A Dcairo-png-out.cpp55 CairoRenderContext *ctx; local
68 ctx = renderer->createContext();
71 bool ret = renderer->setupDocument(ctx, doc, TRUE, 0., NULL);
73 renderer->renderItem(ctx, base);
74 ctx->saveAsPng(filename);
75 ret = ctx->finish();
77 renderer->destroyContext(ctx);
H A Dcairo-renderer-pdf-out.cpp94 CairoRenderContext *ctx = renderer->createContext(); local
95 ctx->setPDFLevel(level);
96 ctx->setTextToPath(texttopath);
97 ctx->setOmitText(omittext);
98 ctx->setFilterToBitmap(filtertobitmap);
99 ctx->setBitmapResolution(resolution);
101 bool ret = ctx->setPdfTarget (filename);
104 ret = renderer->setupDocument(ctx, doc, pageBoundingBox, bleedmargin_px, base);
106 renderer->renderItem(ctx, base);
107 ret = ctx
[all...]
H A Dcairo-ps-out.cpp96 CairoRenderContext *ctx = renderer->createContext(); local
97 ctx->setPSLevel(level);
98 ctx->setEPS(eps);
99 ctx->setTextToPath(texttopath);
100 ctx->setOmitText(omittext);
101 ctx->setFilterToBitmap(filtertobitmap);
102 ctx->setBitmapResolution(resolution);
104 bool ret = ctx->setPsTarget(filename);
107 ret = renderer->setupDocument(ctx, doc, pageBoundingBox, bleedmargin_px, base);
109 renderer->renderItem(ctx, bas
[all...]
/inkscape/src/
H A Dprint.h35 unsigned int sp_print_bind(SPPrintContext *ctx, Geom::Affine const &transform, float opacity);
36 unsigned int sp_print_release(SPPrintContext *ctx);
37 unsigned int sp_print_comment(SPPrintContext *ctx, char const *comment);
38 unsigned int sp_print_fill(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style,
40 unsigned int sp_print_stroke(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style,
43 unsigned int sp_print_image_R8G8B8A8_N(SPPrintContext *ctx,
47 unsigned int sp_print_text(SPPrintContext *ctx, char const *text, Geom::Point p,
50 void sp_print_get_param(SPPrintContext *ctx, char *name, bool *value);
H A Dprint.cpp32 sp_print_bind(SPPrintContext *ctx, Geom::Affine const &transform, float opacity) argument
34 return ctx->module->bind(transform, opacity);
38 sp_print_release(SPPrintContext *ctx) argument
40 return ctx->module->release();
44 sp_print_comment(SPPrintContext *ctx, char const *comment) argument
46 return ctx->module->comment(comment);
50 sp_print_fill(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument
53 return ctx->module->fill(pathv, ctm, style, pbox, dbox, bbox);
57 sp_print_stroke(SPPrintContext *ctx, Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, argument
60 return ctx
64 sp_print_image_R8G8B8A8_N(SPPrintContext *ctx, guchar *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Affine const &transform, SPStyle const *style) argument
71 sp_print_text(SPPrintContext *ctx, char const *text, Geom::Point p, SPStyle const *style) argument
[all...]
H A Dsp-symbol.cpp71 void SPSymbol::update(SPCtx *ctx, guint flags) { argument
74 SPItemCtx *ictx = (SPItemCtx *) ctx;
87 SPGroup::update(ctx, flags);
149 void SPSymbol::print(SPPrintContext* ctx) { argument
153 sp_print_bind(ctx, this->c2p, 1.0);
155 SPGroup::print(ctx);
157 sp_print_release (ctx);
H A Dsp-defs.h28 virtual void update(SPCtx* ctx, unsigned int flags);
H A Dsp-script.h31 virtual void update(SPCtx* ctx, unsigned int flags);
H A Dsp-string.h28 virtual void update(SPCtx* ctx, unsigned int flags);
H A Dsp-root.h56 virtual void update(SPCtx *ctx, unsigned int flags);
64 virtual void print(SPPrintContext *ctx);
H A Dsp-symbol.h36 virtual void update(SPCtx *ctx, unsigned int flags);
43 virtual void print(SPPrintContext *ctx);
H A Dbox3d-side.h39 virtual void update(SPCtx *ctx, unsigned int flags);
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py64 def __init__(self, command, node, ctx):
67 self.ctx = ctx
80 self.ctx.style = style
84 if hasattr(self.ctx, method) and style[key] != "none":
85 getattr(self.ctx, method)(style[key])
87 self.ctx.style_cache = style
120 self.ctx.write("\n// #%s" % self.attr("id"))
122 self.ctx.save()
127 self.ctx
[all...]
/inkscape/src/ui/dialog/
H A Dprint.cpp118 Inkscape::Extension::Internal::CairoRenderContext *ctx = renderer.createContext(); local
120 // ctx->setPSLevel(CAIRO_PS_LEVEL_3);
121 ctx->setTextToPath(false);
122 ctx->setFilterToBitmap(true);
123 ctx->setBitmapResolution(72);
130 bool ret = ctx->setSurfaceTarget (surface, true, &ctm);
132 ret = renderer.setupDocument (ctx, junk->_doc, TRUE, 0., NULL);
134 renderer.renderItem(ctx, junk->_base);
135 ctx->finish();
146 renderer.destroyContext(ctx);
[all...]
/inkscape/src/filters/
H A Dmergenode.cpp66 void SPFeMergeNode::update(SPCtx *ctx, guint flags) { argument
71 SPObject::update(ctx, flags);
H A Dtile.cpp58 void SPFeTile::update(SPCtx *ctx, guint flags) { argument
66 SPFilterPrimitive::update(ctx, flags);
H A Dblend.h36 virtual void update(SPCtx* ctx, unsigned int flags);
H A Dcolormatrix.h36 virtual void update(SPCtx* ctx, unsigned int flags);
H A Dcomponenttransfer-funcnode.h47 virtual void update(SPCtx* ctx, unsigned int flags);
H A Ddisplacementmap.h44 virtual void update(SPCtx* ctx, unsigned int flags);
/inkscape/src/display/
H A Ddrawing-group.cpp69 DrawingGroup::_updateItem(Geom::IntRect const &area, UpdateContext const &ctx, unsigned flags, unsigned reset) argument
74 UpdateContext child_ctx(ctx);
76 child_ctx.ctm = *_child_transform * ctx.ctm;
H A Ddrawing-group.h32 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,
H A Ddrawing-pattern.h59 virtual unsigned _updateItem(Geom::IntRect const &area, UpdateContext const &ctx,

Completed in 31 milliseconds

1234567