Graphviz 13.0.0~dev.20250424.1043
|
#include "config.h"
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <TargetConditionals.h>
#include <gvc/gvplugin_textlayout.h>
#include "gvplugin_quartz.h"
Go to the source code of this file.
Functions | |
void * | quartz_new_layout (char *fontname, double fontsize, char *text) |
void | quartz_size_layout (void *layout, double *width, double *height, double *yoffset_layout) |
void | quartz_draw_layout (void *layout, CGContextRef context, CGPoint position) |
void | quartz_free_layout (void *layout) |
static bool | quartz_textlayout (textspan_t *para, char **fontpath) |
Variables | |
static gvtextlayout_engine_t | quartz_textlayout_engine |
gvplugin_installed_t | gvtextlayout_quartz_types [] |
void quartz_draw_layout | ( | void * | layout, |
CGContextRef | context, | ||
CGPoint | position | ||
) |
Definition at line 70 of file gvtextlayout_quartz.c.
References layout(), position::x, and position::y.
Referenced by quartzgen_textspan().
void quartz_free_layout | ( | void * | layout | ) |
Definition at line 76 of file gvtextlayout_quartz.c.
References layout().
Referenced by quartz_textlayout(), and quartzgen_textspan().
void * quartz_new_layout | ( | char * | fontname, |
double | fontsize, | ||
char * | text | ||
) |
Definition at line 25 of file gvtextlayout_quartz.c.
Referenced by quartz_textlayout(), and quartzgen_textspan().
void quartz_size_layout | ( | void * | layout, |
double * | width, | ||
double * | height, | ||
double * | yoffset_layout | ||
) |
Definition at line 58 of file gvtextlayout_quartz.c.
References layout().
Referenced by quartz_textlayout().
|
static |
Definition at line 82 of file gvtextlayout_quartz.c.
References textspan_t::font, textspan_t::free_layout, textspan_t::layout, textfont_t::name, quartz_free_layout(), quartz_new_layout(), quartz_size_layout(), textfont_t::size, textspan_t::size, textspan_t::str, pointf_s::x, pointf_s::y, textspan_t::yoffset_centerline, and textspan_t::yoffset_layout.
gvplugin_installed_t gvtextlayout_quartz_types[] |
Definition at line 104 of file gvtextlayout_quartz.c.
|
static |
Definition at line 100 of file gvtextlayout_quartz.c.