Handle.renderCairoSub

Draws a subset of a SVG to a Cairo surface

class Handle
bool
renderCairoSub
(,
string id
)

Parameters

cr Context

A Cairo renderer

id string

An element's id within the SVG, or %NULL to render the whole SVG. For example, if you have a layer called "layer1" that you wish to render, pass "##layer1" as the id.

Return Value

Type: bool

%TRUE if drawing succeeded.

Meta

Since

2.14