Graphviz 12.0.1~dev.20240716.0800
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
29 glCompFont *glNewFont(glCompSet * s, char *text, glCompColor * c,
30 char *fontdesc, int fs, bool is2D);
32 void glDeleteFont(glCompFont * f);
33 void glCompDrawText(glCompFont * f,float x,float y);
34 void glCompRenderText(glCompFont * f, glCompObj * parentObj);
35 void glCompDrawText3D(glCompFont *f, float x, float y, double z,
36 float w, 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:47
void glCompRenderText(glCompFont *f, glCompObj *parentObj)
Definition glcompfont.c:142
glCompFont * glNewFontFromParent(glCompObj *o, char *text)
Definition glcompfont.c:75
void glDeleteFont(glCompFont *f)
Definition glcompfont.c:38
void glCompDrawText(glCompFont *f, float x, float y)
Definition glcompfont.c:136
void glprintfglut(void *font, float xpos, float ypos, float zpos, char *bf)
Definition glcompfont.c:31
void glCompDrawText3D(glCompFont *f, float x, float y, double z, float w, float h)
Definition glcompfont.c:117
static int z
$2 font
Definition htmlparse.y:498
Definition grammar.c:93