mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Functions for creating and accessing Dimension/Position structs
This commit is contained in:
parent
32c60685ba
commit
dee71f4eb2
@ -26,6 +26,7 @@
|
||||
#define _LIBRSVG_HELPER_H_
|
||||
|
||||
#include <glib>
|
||||
#include <stdlib.h>
|
||||
#include <librsvg/rsvg.h>
|
||||
|
||||
RsvgDimensionData *
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user