Graphviz 13.0.0~dev.20241220.2304
|
#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"
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 [] |
|
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.
|
static |
Definition at line 36 of file gvrender_quartz.c.
References GVJ_s::context, GVJ_s::device, FORMAT_CGIMAGE, gvplugin_active_device_s::id, NULL, and GVJ_s::window.
|
static |
Definition at line 123 of file gvrender_quartz.c.
References agnameof(), BITS_PER_COMPONENT, BYTE_ALIGN, BYTES_PER_PIXEL, GVJ_s::common, GVJ_s::context, GVJ_s::device, device_data_consumer_callbacks, FORMAT_PDF, obj_state_s::g, GVJ_s::height, gvplugin_active_device_s::id, GVJ_s::imagedata, GVCOMMON_s::info, M_PI, NULL, GVJ_s::obj, ROOTGRAPH_OBJTYPE, GVJ_s::rotation, GVJ_s::scale, GVJ_s::translation, obj_state_s::type, obj_state_s::u, GVJ_s::width, pointf_s::x, and pointf_s::y.
Definition at line 406 of file gvrender_quartz.c.
References A, GVJ_s::context, and quartzgen_path().
Definition at line 380 of file gvrender_quartz.c.
References A, GVJ_s::context, dx, dy, and quartzgen_path().
|
static |
Definition at line 48 of file gvrender_quartz.c.
References GVJ_s::context, GVJ_s::device, device_data_consumer_callbacks, FORMAT_CGIMAGE, FORMAT_PDF, gvplugin_active_device_s::id, image, NULL, and GVJ_s::window.
|
static |
Definition at line 260 of file gvrender_quartz.c.
References GVJ_s::context.
|
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().
Definition at line 394 of file gvrender_quartz.c.
References A, GVJ_s::context, and quartzgen_path().
Definition at line 418 of file gvrender_quartz.c.
References A, GVJ_s::context, and quartzgen_path().
|
static |
Definition at line 344 of file gvrender_quartz.c.
References GVJ_s::context, textspan_t::font, textspan_t::free_layout, textspan_t::just, textspan_t::layout, layout(), textfont_t::name, GVJ_s::obj, obj_state_s::pencolor, quartz_draw_layout(), quartz_free_layout(), quartz_new_layout(), color_s::RGBA, textfont_t::size, textspan_t::size, textspan_t::str, color_s::u, pointf_s::x, pointf_s::y, and textspan_t::yoffset_centerline.
|
static |
Definition at line 33 of file gvrender_quartz.c.
Referenced by quartzgen_path().
|
static |
Definition at line 482 of file gvrender_quartz.c.
|
static |
Definition at line 34 of file gvrender_quartz.c.
Referenced by quartzgen_path().
gvplugin_installed_t gvdevice_quartz_types[] |
Definition at line 494 of file gvrender_quartz.c.
gvplugin_installed_t gvrender_quartz_types[] |
Definition at line 489 of file gvrender_quartz.c.
|
static |
Definition at line 429 of file gvrender_quartz.c.
|
static |
Definition at line 462 of file gvrender_quartz.c.