Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
# This file was generated by "dot -c" at time of install.

# You may temporarily disable a plugin by removing or commenting out
# a line in this file, or you can modify its "quality" value to affect
# default plugin selection.

# Manual edits to this file **will be lost** on upgrade.

gvplugin_core.dll core {
device {
dot:dot 1
gv:dot 1
canon:dot 1
plain:dot 1
plain-ext:dot 1
xdot:xdot 1
xdot1.2:xdot 1
xdot1.4:xdot 1
}
device {
fig:fig 1
}
device {
ismap:map 1
cmap:map 1
imap:map 1
cmapx:map 1
imap_np:map 1
cmapx_np:map 1
}
device {
mp:mp -1
}
device {
ps:ps 1
ps2:ps 1
eps:ps 1
}
device {
svg:svg 1
}
device {
json:json 1
json0:json 1
dot_json:json 1
xdot_json:json 1
}
device {
tk:tk 1
}
device {
vml:vml 1
}
device {
pic:pic -1
}
device {
}
render {
dot 1
xdot 1
}
render {
fig 1
}
render {
map 1
}
render {
mp -1
}
render {
ps 1
}
render {
svg 1
}
render {
json 1
json0 1
dot_json 1
xdot_json 1
}
render {
tk 1
}
render {
vml 1
}
render {
pic -1
}
render {
}
loadimage {
png:svg 1
gif:svg 1
jpeg:svg 1
jpe:svg 1
jpg:svg 1
png:fig 1
gif:fig 1
jpeg:fig 1
jpe:fig 1
jpg:fig 1
#FAILS png:vrml 1
#FAILS gif:vrml 1
#FAILS jpeg:vrml 1
#FAILS jpe:vrml 1
#FAILS jpg:vrml 1
eps:ps 1
ps:ps 1
(lib):ps 1
png:map 1
gif:map 1
jpeg:map 1
jpe:map 1
jpg:map 1
ps:map 1
eps:map 1
svg:map 1
png:dot 1
gif:dot 1
jpeg:dot 1
jpe:dot 1
jpg:dot 1
ps:dot 1
eps:dot 1
svg:dot 1
png:xdot 1
gif:xdot 1
jpeg:xdot 1
jpe:xdot 1
jpg:xdot 1
ps:xdot 1
eps:xdot 1
svg:xdot 1
svg:svg 1
png:vml 1
gif:vml 1
jpeg:vml 1
jpe:vml 1
jpg:vml 1
gif:tk 1
}
}
gvplugin_dot_layout.dll dot_layout {
layout {
dot 0
}
}
gvplugin_gdiplus.dll gdiplus {
render {
gdiplus 1
}
textlayout {
textlayout 8
}
loadimage {
bmp:gdiplus 8
gif:gdiplus 8
jpe:gdiplus 8
jpeg:gdiplus 8
jpg:gdiplus 8
png:gdiplus 8
}
device {
metafile:gdiplus 8
bmp:gdiplus 8
emf:gdiplus 8
emfplus:gdiplus 8
gif:gdiplus 8
jpe:gdiplus 8
jpeg:gdiplus 8
jpg:gdiplus 8
png:gdiplus 8
tif:gdiplus 8
tiff:gdiplus 8
}
device {
bmp:cairo 8
gif:cairo 8
jpe:cairo 8
jpeg:cairo 8
jpg:cairo 8
png:cairo 8
tif:cairo 8
tiff:cairo 8
}
}
gvplugin_neato_layout.dll neato_layout {
layout {
neato 0
fdp 0
sfdp 0
twopi 0
circo 0
patchwork 0
osage 0
nop 0
nop1 0
nop2 0
}
}
gvplugin_pango.dll cairo {
render {
cairo 10
}
textlayout {
textlayout 10
}
loadimage {
png:cairo 1
#FAILS png:lasi 2
png:ps 2
}
device {
png:cairo 10
ps:cairo -10
eps:cairo -10
pdf:cairo 10
svg:cairo -10
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */

/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors: See CVS logs. Details at http://www.graphviz.org/
*************************************************************************/

/* geometric functions (e.g. on points and boxes) with application to, but
* no specific dependence on graphs */

#ifndef GV_ARITH_H
#define GV_ARITH_H

/* for sincos */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif

#include <limits.h>
#include <math.h>

#ifdef __cplusplus
extern "C" {
#endif

#ifdef MIN
#undef MIN
#endif
#define MIN(a,b) ((a)<(b)?(a):(b))

#ifdef MAX
#undef MAX
#endif
#define MAX(a,b) ((a)>(b)?(a):(b))

#ifdef ABS
#undef ABS
#endif
#define ABS(a) ((a) >= 0 ? (a) : -(a))

#define AVG(a,b) ((a + b) / 2)
#define SGN(a) (((a)<0)? -1 : 1)
#define CMP(a,b) (((a)<(b)) ? -1 : (((a)>(b)) ? 1 : 0))

#ifndef INT_MAX
#define INT_MAX ((int)(~(unsigned)0 >> 1))
#endif

#ifndef INT_MIN
#define INT_MIN (-INT_MAX - 1)
#endif

#ifndef MAXSHORT
#define MAXSHORT (0x7fff)
#endif

#ifndef MAXDOUBLE
#define MAXDOUBLE 1.7976931348623157e+308
#endif

#ifndef MAXFLOAT
#define MAXFLOAT ((float)3.40282347e+38) // exact value: 0x1.fffffep+127f
#endif

#ifdef BETWEEN
#undef BETWEEN
#endif
#define BETWEEN(a,b,c) (((a) <= (b)) && ((b) <= (c)))

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#ifndef SQRT2
#define SQRT2 1.41421356237309504880
#endif

#define ROUND(f) ((f>=0)?(int)(f + .5):(int)(f - .5))
#define RADIANS(deg) ((deg)/180.0 * M_PI)
#define DEGREES(rad) ((rad)/M_PI * 180.0)

#define SQR(a) ((a) * (a))

#ifdef HAVE_SINCOS
extern void sincos(double x, double *s, double *c);
#else
# define sincos(x,s,c) *s = sin(x); *c = cos(x)
#endif

#ifdef __cplusplus
}
#endif

#endif
Loading