Graphviz 13.0.0~dev.20241220.2304
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#ifdef _WIN32
17#include <glcomp/glpangofont.h>
18#endif
19#include <glcomp/opengl.h>
20#include <glcomp/glcompdefs.h>
21#include <GL/glut.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27 void glprintfglut(void *font, float xpos, float ypos, float zpos, char *bf);
28
29glCompFont glNewFont(glCompSet *s, char *text, glCompColor *c, char *fontdesc,
30 int fs, bool is2D);
32 void glDeleteFont(glCompFont * f);
33void glCompDrawText(glCompFont f, float x, float y);
34void glCompRenderText(glCompFont f, glCompObj *parentObj);
35void glCompDrawText3D(glCompFont f, float x, float y, double z, float w,
36 float h);
37
38#ifdef __cplusplus
39}
40#endif
glCompFont glNewFont(glCompSet *s, char *text, glCompColor *c, char *fontdesc, int fs, bool is2D)
Definition glcompfont.c:46
void glCompDrawText3D(glCompFont f, float x, float y, double z, float w, float h)
Definition glcompfont.c:109
glCompFont glNewFontFromParent(glCompObj *o, 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
static int z
$2 font
Definition htmlparse.y:300
object prototype
Definition glcompdefs.h:199
Definition grammar.c:93