File: cairo_imlib2_helper.pkg

package info (click to toggle)
conky 1.22.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,940 kB
  • sloc: cpp: 63,722; ansic: 18,079; python: 813; xml: 324; sh: 243; makefile: 142; javascript: 139
file content (11 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
$#include <cairo.h>
$#include <libcairo_imlib2_helper.h>

/* Paints the image onto the cairo_surface_t */
void cairo_draw_image(const char *, cairo_surface_t *, int, int,
                      double scale_x=1.0, double scale_y=1.0,
                      double * return_scale_w, double * return_scale_h);

/* Places an image onto a cairo_t but doesn't call cairo_paint */
void cairo_place_image(const char *file, cairo_t *cr, int x, int y,
                       int width, int height, double alpha=1.0);