Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
SPPrintContext Struct Reference

#include <print.h>

Public Member Functions

unsigned int bind (Geom::Affine const &transform, float opacity)
 
unsigned int release ()
 
unsigned int fill (Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox)
 
unsigned int stroke (Geom::PathVector const &pathv, Geom::Affine const &ctm, SPStyle const *style, Geom::OptRect const &pbox, Geom::OptRect const &dbox, Geom::OptRect const &bbox)
 
unsigned int image_R8G8B8A8_N (unsigned char *px, unsigned int w, unsigned int h, unsigned int rs, Geom::Affine const &transform, SPStyle const *style)
 
unsigned int text (char const *text, Geom::Point p, SPStyle const *style)
 
void get_param (char *name, bool *value)
 

Public Attributes

Inkscape::Extension::Print *SPItemcontext_item = nullptr
 

Detailed Description

Definition at line 41 of file print.h.

Member Function Documentation

◆ bind()

unsigned int SPPrintContext::bind ( Geom::Affine const &  transform,
float  opacity 
)

Definition at line 39 of file print.cpp.

Referenced by SPItem::invoke_print(), SPSymbol::print(), and Inkscape::Text::Layout::print().

◆ fill()

unsigned int SPPrintContext::fill ( Geom::PathVector const &  pathv,
Geom::Affine const &  ctm,
SPStyle const *  style,
Geom::OptRect const &  pbox,
Geom::OptRect const &  dbox,
Geom::OptRect const &  bbox 
)

Definition at line 51 of file print.cpp.

Referenced by SPShape::print(), and Inkscape::Text::Layout::print().

◆ get_param()

void SPPrintContext::get_param ( char *  name,
bool *  value 
)

◆ image_R8G8B8A8_N()

unsigned int SPPrintContext::image_R8G8B8A8_N ( unsigned char *  px,
unsigned int  w,
unsigned int  h,
unsigned int  rs,
Geom::Affine const &  transform,
SPStyle const *  style 
)

Definition at line 65 of file print.cpp.

◆ release()

unsigned int SPPrintContext::release ( )

Definition at line 45 of file print.cpp.

Referenced by SPItem::invoke_print(), and Inkscape::Text::Layout::print().

◆ stroke()

unsigned int SPPrintContext::stroke ( Geom::PathVector const &  pathv,
Geom::Affine const &  ctm,
SPStyle const *  style,
Geom::OptRect const &  pbox,
Geom::OptRect const &  dbox,
Geom::OptRect const &  bbox 
)

Definition at line 58 of file print.cpp.

Referenced by SPShape::print(), and Inkscape::Text::Layout::print().

◆ text()

unsigned int SPPrintContext::text ( char const *  text,
Geom::Point  p,
SPStyle const *  style 
)

Definition at line 71 of file print.cpp.

Referenced by Inkscape::Text::Layout::print().

Member Data Documentation

◆ context_item

Inkscape::Extension::Print* SPItem* SPPrintContext::context_item = nullptr

Definition at line 43 of file print.h.

Referenced by SPShape::print().


The documentation for this struct was generated from the following files: