Graphviz 13.0.0~dev.20241220.2304
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
20glCompImage *glCompImageNewFile(float x, float y, const char *imgfile);
21glCompImage *glCompImageNew(void *par, float x, float y);
22 extern void glCompImageDelete(glCompImage * p);
23int glCompImageLoad(glCompImage *i, const unsigned char *data, int width,
24 int height, bool is2D);
25int glCompImageLoadPng(glCompImage *i, const char *pngFile);
26 extern void glCompImageDraw(void *obj);
27
28#ifdef __cplusplus
29}
30#endif
void glCompImageDelete(glCompImage *p)
Definition glcompimage.c:50
int glCompImageLoadPng(glCompImage *i, const char *pngFile)
Definition glcompimage.c:75
int glCompImageLoad(glCompImage *i, const unsigned char *data, int width, int height, bool is2D)
Definition glcompimage.c:58
void glCompImageDraw(void *obj)
Definition glcompimage.c:85
glCompImage * glCompImageNew(void *par, float x, float y)
Definition glcompimage.c:20
glCompImage * glCompImageNewFile(float x, float y, const char *imgfile)
Definition glcompimage.c:33
Definition legal.c:50