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

Go to the source code of this file.

Data Structures

struct  DeviceContext
 
struct  Layout
 

Enumerations

enum  format_type {
  FORMAT_NONE , FORMAT_METAFILE , FORMAT_BMP , FORMAT_EMF ,
  FORMAT_EMFPLUS , FORMAT_GIF , FORMAT_JPEG , FORMAT_PNG ,
  FORMAT_TIFF
}
 

Functions

void gdiplus_free_layout (void *layout)
 
void UseGdiplus ()
 
const Gdiplus::StringFormat * GetGenericTypographic ()
 
void SaveBitmapToStream (Gdiplus::Bitmap &bitmap, IStream *stream, int format)
 

Variables

static const int BYTES_PER_PIXEL = 4
 

Enumeration Type Documentation

◆ format_type

Enumerator
FORMAT_NONE 
FORMAT_METAFILE 
FORMAT_BMP 
FORMAT_EMF 
FORMAT_EMFPLUS 
FORMAT_GIF 
FORMAT_JPEG 
FORMAT_PNG 
FORMAT_TIFF 

Definition at line 19 of file gvplugin_gdiplus.h.

Function Documentation

◆ gdiplus_free_layout()

void gdiplus_free_layout ( void *  layout)

Definition at line 60 of file gvtextlayout_gdiplus.cpp.

References layout().

Referenced by gdiplus_textlayout(), and gdiplusgen_textspan().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetGenericTypographic()

const Gdiplus::StringFormat * GetGenericTypographic ( )

Definition at line 55 of file gvplugin_gdiplus.cpp.

References format.

Referenced by gdiplus_textlayout(), and gdiplusgen_textspan().

Here is the caller graph for this function:

◆ SaveBitmapToStream()

void SaveBitmapToStream ( Gdiplus::Bitmap &  bitmap,
IStream *  stream,
int  format 
)

◆ UseGdiplus()

void UseGdiplus ( )

Definition at line 44 of file gvplugin_gdiplus.cpp.

References _gdiplusToken, and UnuseGdiplus().

Referenced by gdiplus_format(), gdiplus_textlayout(), and gdiplusgen_begin_job().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BYTES_PER_PIXEL

const int BYTES_PER_PIXEL = 4
static

Definition at line 59 of file gvplugin_gdiplus.h.

Referenced by gdiplus_format(), and quartzgen_begin_page().