Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gvloadimage_lasi.cpp File Reference
#include "config.h"
#include <cstdio>
#include <cstdlib>
#include <sys/stat.h>
#include <sys/types.h>
#include <cgraph/agxbuf.h>
#include <common/render.h>
#include <common/utils.h>
#include <gvc/gvio.h>
#include <gvc/gvplugin_loadimage.h>
Include dependency graph for gvloadimage_lasi.cpp:

Go to the source code of this file.

Enumerations

enum  format_type { FORMAT_PS_PS }
 

Functions

static void ps_freeimage (usershape_t *us)
 
static void lasi_loadimage_ps (GVJ_t *job, usershape_t *us, boxf b, bool)
 usershape described by a postscript file
 

Variables

static gvloadimage_engine_t engine_ps = {lasi_loadimage_ps}
 
gvplugin_installed_t gvloadimage_lasi_types []
 

Enumeration Type Documentation

◆ format_type

Enumerator
FORMAT_PS_PS 

Definition at line 27 of file gvloadimage_lasi.cpp.

Function Documentation

◆ lasi_loadimage_ps()

static void lasi_loadimage_ps ( GVJ_t job,
usershape_t us,
boxf  b,
bool   
)
static

Definition at line 42 of file gvloadimage_lasi.cpp.

References usershape_s::data, usershape_s::datafree, usershape_s::datasize, epsf_emit_body(), usershape_s::f, FT_EPS, FT_PS, gvprintf(), gvusershape_file_access(), gvusershape_file_release(), boxf::LL, usershape_s::macro_id, usershape_s::must_inline, usershape_s::name, ps_freeimage(), usershape_s::type, pointf_s::x, usershape_s::x, pointf_s::y, and usershape_s::y.

Here is the call graph for this function:

◆ ps_freeimage()

static void ps_freeimage ( usershape_t us)
static

Definition at line 31 of file gvloadimage_lasi.cpp.

References usershape_s::data, and usershape_s::datasize.

Referenced by lasi_loadimage_ps().

Here is the caller graph for this function:

Variable Documentation

◆ engine_ps

Definition at line 98 of file gvloadimage_lasi.cpp.

◆ gvloadimage_lasi_types

gvplugin_installed_t gvloadimage_lasi_types[]
Initial value:
= {
{FORMAT_PS_PS, "eps:lasi", -5, &engine_ps, nullptr},
{FORMAT_PS_PS, "ps:lasi", -5, &engine_ps, nullptr},
{0, nullptr, 0, nullptr, nullptr}}
static gvloadimage_engine_t engine_ps
@ FORMAT_PS_PS

Definition at line 102 of file gvloadimage_lasi.cpp.