1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

Functions for creating and accessing Dimension/Position structs

This commit is contained in:
Jochen Keil 2013-05-22 21:27:44 +02:00
parent 32c60685ba
commit dee71f4eb2
2 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#define _LIBRSVG_HELPER_H_
#include <glib>
#include <stdlib.h>
#include <librsvg/rsvg.h>
RsvgDimensionData *

View File

@ -61,6 +61,8 @@ typedef struct _RsvgDimensionData {
int height;
double em;
double ex;
static tolua_outside RsvgDimensionData * rsvgDimensionDataCreate @ create();
tolua_outside rsvgDimensionDataGet @ get(int width, int height, double em, double ex);
} RsvgDimensionData;
/**
@ -70,6 +72,8 @@ typedef struct _RsvgDimensionData {
typedef struct _RsvgPositionData {
int x;
int y;
static tolua_outside RsvgPositionData * rsvgPositionDataCreate @ create();
tolua_outside rsvgPositionDataGet @ get(int x, int y);
} RsvgPositionData;
RsvgHandle *rsvg_handle_new (void);