Graphviz 13.0.0~dev.20241220.2304
|
#include "config.h"
#include <cassert>
#include <climits>
#include <stdlib.h>
#include <string.h>
#include <gvc/gvplugin_device.h>
#include <gvc/gvplugin_render.h>
#include <gvc/gvio.h>
#include "gvplugin_gdiplus.h"
#include <memory>
#include <vector>
Go to the source code of this file.
Data Structures | |
struct | ImageGraphics |
Functions | |
static void | gdiplusgen_begin_job (GVJ_t *job) |
static void | gdiplusgen_end_job (GVJ_t *job) |
static void | gdiplusgen_begin_page (GVJ_t *job) |
static void | gdiplusgen_textspan (GVJ_t *job, pointf p, textspan_t *span) |
static vector< PointF > | points (pointf *A, int n) |
static void | gdiplusgen_path (GVJ_t *job, const GraphicsPath &pathname, int filled) |
static void | gdiplusgen_ellipse (GVJ_t *job, pointf *A, int filled) |
static void | gdiplusgen_polygon (GVJ_t *job, pointf *A, size_t n, int filled) |
static void | gdiplusgen_bezier (GVJ_t *job, pointf *A, size_t n, int filled) |
static void | gdiplusgen_polyline (GVJ_t *job, pointf *A, size_t n) |
|
static |
Definition at line 40 of file gvrender_gdiplus.cpp.
References GVJ_s::context, GVJ_s::device, GVJ_s::external_context, FORMAT_METAFILE, gvplugin_active_device_s::id, UseGdiplus(), and GVJ_s::window.
|
static |
Definition at line 91 of file gvrender_gdiplus.cpp.
References GVJ_s::context, GVJ_s::device, GVJ_s::external_context, FORMAT_EMF, FORMAT_EMFPLUS, FORMAT_METAFILE, GVJ_s::height, gvplugin_active_device_s::id, image, GVJ_s::rotation, GVJ_s::scale, GVJ_s::translation, GVJ_s::width, GVJ_s::window, pointf_s::x, and pointf_s::y.
Definition at line 251 of file gvrender_gdiplus.cpp.
References A, gdiplusgen_path(), and points.
Definition at line 229 of file gvrender_gdiplus.cpp.
References A, dx, dy, and gdiplusgen_path().
|
static |
Definition at line 55 of file gvrender_gdiplus.cpp.
References GVJ_s::context, GVJ_s::device, GVJ_s::external_context, FORMAT_EMF, FORMAT_EMFPLUS, FORMAT_METAFILE, gvwrite(), gvplugin_active_device_s::id, image, ImageGraphics::image, SaveBitmapToStream(), and ImageGraphics::stream.
|
static |
Definition at line 195 of file gvrender_gdiplus.cpp.
References GVJ_s::context, obj_state_s::fillcolor, GVJ_s::obj, obj_state_s::pen, PEN_DASHED, PEN_DOTTED, PEN_NONE, PEN_SOLID, obj_state_s::pencolor, obj_state_s::penwidth, color_s::rgba, and color_s::u.
Referenced by gdiplusgen_bezier(), gdiplusgen_ellipse(), gdiplusgen_polygon(), and gdiplusgen_polyline().
Definition at line 241 of file gvrender_gdiplus.cpp.
References A, gdiplusgen_path(), and points.
Definition at line 261 of file gvrender_gdiplus.cpp.
References A, gdiplusgen_path(), and points.
|
static |
Definition at line 151 of file gvrender_gdiplus.cpp.
References GVJ_s::context, textspan_t::font, textspan_t::free_layout, gdiplus_free_layout(), GetGenericTypographic(), textspan_t::just, textspan_t::layout, layout(), textfont_t::name, GVJ_s::obj, obj_state_s::pencolor, color_s::rgba, textfont_t::size, textspan_t::size, textspan_t::str, color_s::u, pointf_s::x, pointf_s::y, textspan_t::yoffset_centerline, and textspan_t::yoffset_layout.
|
static |
Definition at line 186 of file gvrender_gdiplus.cpp.
References A.
|
static |
Definition at line 321 of file gvrender_gdiplus.cpp.
|
static |
Definition at line 312 of file gvrender_gdiplus.cpp.
|
static |
Definition at line 271 of file gvrender_gdiplus.cpp.
gvplugin_installed_t gvdevice_gdiplus_types[] |
Definition at line 334 of file gvrender_gdiplus.cpp.
gvplugin_installed_t gvrender_gdiplus_types[] |
Definition at line 329 of file gvrender_gdiplus.cpp.
|
static |
Definition at line 304 of file gvrender_gdiplus.cpp.