Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvplugin_quartz.h File Reference
#include <Availability.h>
Include dependency graph for gvplugin_quartz.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  format_type {
  FORMAT_NONE , FORMAT_CGIMAGE , FORMAT_BMP , FORMAT_EXR ,
  FORMAT_GIF , FORMAT_ICNS , FORMAT_ICO , FORMAT_JPEG ,
  FORMAT_JPEG2000 , FORMAT_PDF , FORMAT_PICT , FORMAT_PNG ,
  FORMAT_PSD , FORMAT_SGI , FORMAT_TIFF , FORMAT_TGA
}
 

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)
 

Variables

static const int BYTE_ALIGN = 15
 
static const int BITS_PER_COMPONENT = 8
 
static const int BYTES_PER_PIXEL = 4
 
CGDataConsumerCallbacks device_data_consumer_callbacks
 

Enumeration Type Documentation

◆ format_type

Enumerator
FORMAT_NONE 
FORMAT_CGIMAGE 
FORMAT_BMP 
FORMAT_EXR 
FORMAT_GIF 
FORMAT_ICNS 
FORMAT_ICO 
FORMAT_JPEG 
FORMAT_JPEG2000 
FORMAT_PDF 
FORMAT_PICT 
FORMAT_PNG 
FORMAT_PSD 
FORMAT_SGI 
FORMAT_TIFF 
FORMAT_TGA 

Definition at line 25 of file gvplugin_quartz.h.

Function Documentation

◆ quartz_draw_layout()

void quartz_draw_layout ( void *  layout,
CGContextRef  context,
CGPoint  position 
)

Referenced by quartzgen_textspan().

Here is the caller graph for this function:

◆ quartz_free_layout()

void quartz_free_layout ( void *  layout)

Referenced by quartz_textlayout(), and quartzgen_textspan().

Here is the caller graph for this function:

◆ quartz_new_layout()

void * quartz_new_layout ( char *  fontname,
double  fontsize,
char *  text 
)

Referenced by quartz_textlayout(), and quartzgen_textspan().

Here is the caller graph for this function:

◆ quartz_size_layout()

void quartz_size_layout ( void *  layout,
double *  width,
double *  height,
double *  yoffset_layout 
)

Referenced by quartz_textlayout().

Here is the caller graph for this function:

Variable Documentation

◆ BITS_PER_COMPONENT

const int BITS_PER_COMPONENT = 8
static

Definition at line 45 of file gvplugin_quartz.h.

Referenced by quartzgen_begin_page().

◆ BYTE_ALIGN

const int BYTE_ALIGN = 15
static

Definition at line 44 of file gvplugin_quartz.h.

Referenced by quartzgen_begin_page().

◆ BYTES_PER_PIXEL

const int BYTES_PER_PIXEL = 4
static

Definition at line 46 of file gvplugin_quartz.h.

◆ device_data_consumer_callbacks

CGDataConsumerCallbacks device_data_consumer_callbacks
extern

Definition at line 33 of file gvplugin_quartz.c.

Referenced by quartzgen_begin_page(), and quartzgen_end_job().