Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvrender_quartz.c File Reference
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <gvc/gvplugin_device.h>
#include <gvc/gvplugin_render.h>
#include <cgraph/cgraph.h>
#include "gvplugin_quartz.h"
Include dependency graph for gvrender_quartz.c:

Go to the source code of this file.

Functions

static void quartzgen_begin_job (GVJ_t *job)
 
static void quartzgen_end_job (GVJ_t *job)
 
static void quartzgen_begin_page (GVJ_t *job)
 
static void quartzgen_end_page (GVJ_t *job)
 
static void quartzgen_begin_anchor (GVJ_t *job, char *url, char *tooltip, char *target, char *id)
 
static void quartzgen_path (GVJ_t *job, int filled)
 
static void quartzgen_textspan (GVJ_t *job, pointf p, textspan_t *span)
 
static void quartzgen_ellipse (GVJ_t *job, pointf *A, int filled)
 
static void quartzgen_polygon (GVJ_t *job, pointf *A, size_t n, int filled)
 
static void quartzgen_bezier (GVJ_t *job, pointf *A, size_t n, int filled)
 
static void quartzgen_polyline (GVJ_t *job, pointf *A, size_t n)
 

Variables

static CGFloat dashed [] = { 6.0 }
 
static CGFloat dotted [] = { 2.0, 6.0 }
 
static gvrender_engine_t quartzgen_engine
 
static gvrender_features_t render_features_quartz
 
static gvdevice_features_t device_features_quartz_paged
 
gvplugin_installed_t gvrender_quartz_types []
 
gvplugin_installed_t gvdevice_quartz_types []
 

Function Documentation

◆ quartzgen_begin_anchor()

static void quartzgen_begin_anchor ( GVJ_t job,
char *  url,
char *  tooltip,
char *  target,
char *  id 
)
static

Definition at line 268 of file gvrender_quartz.c.

References GVJ_s::context, NULL, GVJ_s::obj, and obj_state_s::url_map_p.

◆ quartzgen_begin_job()

static void quartzgen_begin_job ( GVJ_t job)
static

◆ quartzgen_begin_page()

static void quartzgen_begin_page ( GVJ_t job)
static

◆ quartzgen_bezier()

static void quartzgen_bezier ( GVJ_t job,
pointf A,
size_t  n,
int  filled 
)
static

Definition at line 406 of file gvrender_quartz.c.

References A, GVJ_s::context, and quartzgen_path().

Here is the call graph for this function:

◆ quartzgen_ellipse()

static void quartzgen_ellipse ( GVJ_t job,
pointf A,
int  filled 
)
static

Definition at line 380 of file gvrender_quartz.c.

References A, GVJ_s::context, dx, dy, and quartzgen_path().

Here is the call graph for this function:

◆ quartzgen_end_job()

static void quartzgen_end_job ( GVJ_t job)
static

◆ quartzgen_end_page()

static void quartzgen_end_page ( GVJ_t job)
static

Definition at line 260 of file gvrender_quartz.c.

References GVJ_s::context.

◆ quartzgen_path()

static void quartzgen_path ( GVJ_t job,
int  filled 
)
static

Definition at line 303 of file gvrender_quartz.c.

References GVJ_s::context, dashed, dotted, obj_state_s::fillcolor, NULL, GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, obj_state_s::pencolor, obj_state_s::penwidth, color_s::RGBA, and color_s::u.

Referenced by quartzgen_bezier(), quartzgen_ellipse(), quartzgen_polygon(), and quartzgen_polyline().

Here is the caller graph for this function:

◆ quartzgen_polygon()

static void quartzgen_polygon ( GVJ_t job,
pointf A,
size_t  n,
int  filled 
)
static

Definition at line 394 of file gvrender_quartz.c.

References A, GVJ_s::context, and quartzgen_path().

Here is the call graph for this function:

◆ quartzgen_polyline()

static void quartzgen_polyline ( GVJ_t job,
pointf A,
size_t  n 
)
static

Definition at line 418 of file gvrender_quartz.c.

References A, GVJ_s::context, and quartzgen_path().

Here is the call graph for this function:

◆ quartzgen_textspan()

static void quartzgen_textspan ( GVJ_t job,
pointf  p,
textspan_t span 
)
static

Variable Documentation

◆ dashed

CGFloat dashed[] = { 6.0 }
static

Definition at line 33 of file gvrender_quartz.c.

Referenced by quartzgen_path().

◆ device_features_quartz_paged

gvdevice_features_t device_features_quartz_paged
static
Initial value:
= {
{36., 36.},
{0., 0.},
{72., 72.}
}
#define GVRENDER_NO_WHITE_BG
Definition gvcjob.h:106
#define GVDEVICE_DOES_PAGES
Definition gvcjob.h:87
#define GVDEVICE_DOES_TRUECOLOR
Definition gvcjob.h:90
#define GVDEVICE_BINARY_FORMAT
Definition gvcjob.h:91

Definition at line 482 of file gvrender_quartz.c.

◆ dotted

CGFloat dotted[] = { 2.0, 6.0 }
static

Definition at line 34 of file gvrender_quartz.c.

Referenced by quartzgen_path().

◆ gvdevice_quartz_types

gvplugin_installed_t gvdevice_quartz_types[]

Definition at line 494 of file gvrender_quartz.c.

◆ gvrender_quartz_types

gvplugin_installed_t gvrender_quartz_types[]
Initial value:
= {
{0, NULL, 0, NULL, NULL}
}
node NULL
Definition grammar.y:163
static gvrender_engine_t quartzgen_engine
static gvrender_features_t render_features_quartz

Definition at line 489 of file gvrender_quartz.c.

◆ quartzgen_engine

gvrender_engine_t quartzgen_engine
static

Definition at line 429 of file gvrender_quartz.c.

◆ render_features_quartz

gvrender_features_t render_features_quartz
static
Initial value:
= {
4.,
NULL,
0,
}
@ RGBA_DOUBLE
Definition color.h:27
#define GVRENDER_DOES_MAPS
Definition gvcjob.h:97
#define GVRENDER_DOES_TRANSFORM
Definition gvcjob.h:95
#define GVRENDER_DOES_MAP_RECTANGLE
Definition gvcjob.h:98

Definition at line 462 of file gvrender_quartz.c.