python-lottie  0.6.10+dev2509936
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.exporters.cairo Namespace Reference

Classes

class  PngRenderer
 

Functions

def export_png (animation, fp, frame=0, dpi=96)
 
def PngRenderer (animation, dpi)
 
def export_pdf (animation, fp, frame=0, dpi=96)
 
def export_ps (animation, fp, frame=0, dpi=96)
 

Variables

bool has_cairo = True
 

Function Documentation

◆ export_pdf()

def lottie.exporters.cairo.export_pdf (   animation,
  fp,
  frame = 0,
  dpi = 96 
)

Definition at line 55 of file cairo.py.

◆ export_png()

def lottie.exporters.cairo.export_png (   animation,
  fp,
  frame = 0,
  dpi = 96 
)

Definition at line 17 of file cairo.py.

◆ export_ps()

def lottie.exporters.cairo.export_ps (   animation,
  fp,
  frame = 0,
  dpi = 96 
)

Definition at line 59 of file cairo.py.

◆ PngRenderer()

def lottie.exporters.cairo.PngRenderer (   animation,
  dpi 
)

Definition at line 26 of file cairo.py.

Variable Documentation

◆ has_cairo

bool lottie.exporters.cairo.has_cairo = True

Definition at line 3 of file cairo.py.