Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glcompimage.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include <glcomp/glcompdefs.h>
14#include <stdbool.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20 extern glCompImage *glCompImageNewFile(float x, float y, char *imgfile);
21 extern glCompImage *glCompImageNew(glCompObj *par, float x, float y);
22 extern void glCompImageDelete(glCompImage * p);
23 extern int glCompImageLoad(glCompImage *i, unsigned char *data, int width,
24 int height, bool is2D);
25 extern int glCompImageLoadPng(glCompImage *i, char *pngFile);
26 extern void glCompImageDraw(void *obj);
27
28#ifdef __cplusplus
29}
30#endif
void glCompImageDelete(glCompImage *p)
Definition glcompimage.c:50
glCompImage * glCompImageNewFile(float x, float y, char *imgfile)
Definition glcompimage.c:36
int glCompImageLoadPng(glCompImage *i, char *pngFile)
Definition glcompimage.c:75
int glCompImageLoad(glCompImage *i, unsigned char *data, int width, int height, bool is2D)
Definition glcompimage.c:58
glCompImage * glCompImageNew(glCompObj *par, float x, float y)
Definition glcompimage.c:19
void glCompImageDraw(void *obj)
Definition glcompimage.c:82
Definition legal.c:50