Graphviz 13.1.0~dev.20250626.0830
Loading...
Searching...
No Matches
glcompfont.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 <stdbool.h>
14#include <stdlib.h>
15#include <string.h>
16#include <glcomp/opengl.h>
17#include <glcomp/glcompdefs.h>
18#include <GL/glut.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24 void glprintfglut(void *font, float xpos, float ypos, float zpos, char *bf);
25
26glCompFont glNewFont(glCompSet *s, const char *text, glCompColor *c,
27 char *fontdesc, int fs, bool is2D);
28glCompFont glNewFontFromParent(glCompObj *o, const char *text);
29 void glDeleteFont(glCompFont * f);
30void glCompDrawText(glCompFont f, float x, float y);
31void glCompRenderText(glCompFont f, glCompObj *parentObj);
32void glCompDrawText3D(glCompFont f, float x, float y, double z, float w,
33 float h);
34
35#ifdef __cplusplus
36}
37#endif
void glCompDrawText3D(glCompFont f, float x, float y, double z, float w, float h)
Definition glcompfont.c:109
glCompFont glNewFontFromParent(glCompObj *o, const char *text)
Definition glcompfont.c:70
void glDeleteFont(glCompFont *f)
Definition glcompfont.c:38
void glCompDrawText(glCompFont f, float x, float y)
Definition glcompfont.c:128
void glCompRenderText(glCompFont f, glCompObj *parentObj)
Definition glcompfont.c:134
void glprintfglut(void *font, float xpos, float ypos, float zpos, char *bf)
Definition glcompfont.c:31
glCompFont glNewFont(glCompSet *s, const char *text, glCompColor *c, char *fontdesc, int fs, bool is2D)
Definition glcompfont.c:46
static int z
$2 font
Definition htmlparse.y:300
object prototype
Definition glcompdefs.h:184
Definition grammar.c:89