File: drawkblibs-cairo.h

package info (click to toggle)
superkb 0.23-5
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 492 kB
  • sloc: ansic: 3,915; sh: 187; makefile: 182
file content (30 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * drawkblibs-cairo.h
 *
 * Copyright (C) 2006, Octavio Alvarez Piza.
 * License: GNU General Public License v2.
 *
 * This is the actual implementation of drawkb by using cairo to render the
 * keyboard onto an X11 drawable .
 *
 * This code is not used by Superkb directly, but by drawkblib.c This allows
 * drawkblib.c to provide multiple options to keyboard rendering.
 *
 * See drawkblib.h for details.
 *
 */

#ifndef __DRAWKBLIBS_CAIRO_H
#define __DRAWKBLIBS_CAIRO_H

#include "drawkblibs.h"

int drawkb_cairo_create(Display *dpy, const char *imagelib, const char *font, IQF_t IQF, painting_mode_t painting_mode, float scale);
void drawkb_cairo_draw(drawkb_p this, Drawable d, GC gc, unsigned int width, unsigned int height, XkbDescPtr kbdesc, puticon_t puticon);

int drawkblibs_cairo_init (
	drawkb_create_t *ret_create,
	drawkb_draw_t *ret_draw
);

#endif