#include <windows.h>#include <stdlib.h>#include "ut_string.h"#include "ut_bytebuf.h"#include "ie_impGraphic.h"#include "fg_GraphicRaster.h"#include "ut_assert.h"#include "xap_Module.h"Classes | |
| class | GpImage |
| struct | GdiplusStartupInput |
| struct | GdiplusStartupOutput |
Typedefs | |
| typedef DWORD | Status |
| typedef DWORD | ULONG_PTR |
| typedef DWORD | EncoderParameters |
| typedef const GdiplusStartupInput * | input |
| typedef const GdiplusStartupInput OUT GdiplusStartupOutput * | output |
| typedef GpImage ** | image |
| typedef IStream * | stream |
| typedef IStream CLSID * | clsidEncoder |
| typedef IStream CLSID EncoderParameters * | encoderParams |
Functions | |
| typedef | Status (CALLBACK *GDIPLUSSTARTUP)(ULONG_PTR *token |
| typedef | void (CALLBACK *GDIPLUSSHUTDOWN)(ULONG_PTR token) |
| Status | GdiplusStartup (ULONG_PTR *token, const GdiplusStartupInput *input, GdiplusStartupOutput *output) |
| void | GdiplusShutdown (ULONG_PTR token) |
| Status | GdipLoadImageFromStream (IStream *stream, GpImage **image) |
| Status | GdipSaveImageToStream (GpImage *image, IStream *stream, CLSID *clsidEncoder, EncoderParameters *encoderParams) |
| Status | GdipDisposeImage (GpImage *image) |
| void | initGDIPlus () |
| bool | isGDIPlusAvailable () |
| void | shutDownGDIPlus () |
| UT_Error | GDIconvertGraphic (UT_ByteBuf *pBB, UT_ByteBuf *pBBOut) |
Variables | |
| CLSID | gdip_png_guid = { 0x557cf406, 0x1a04, 0x11d3, { 0x9a, 0x73, 0x0, 0x0, 0xf8, 0x1e, 0xf3, 0x2e } } |
| static ULONG_PTR | gdiplusToken = NULL |
| static HINSTANCE | gdipluslib = NULL |
| typedef IStream CLSID* clsidEncoder |
| typedef DWORD EncoderParameters |
| typedef GpImage GDIPCONST EncoderParameters * encoderParams |
| typedef const GdiplusStartupInput* input |
| typedef const GdiplusStartupInput OUT GdiplusStartupOutput* output |
| typedef Status |
| typedef IStream* stream |
| typedef DWORD ULONG_PTR |
| UT_Error GDIconvertGraphic | ( | UT_ByteBuf * | pBB, | |
| UT_ByteBuf * | pBBOut | |||
| ) |
| Status GdipDisposeImage | ( | GpImage * | image | ) |
References gdipluslib.
| Status GdipLoadImageFromStream | ( | IStream * | stream, | |
| GpImage ** | image | |||
| ) |
| void GdiplusShutdown | ( | ULONG_PTR | token | ) |
| Status GdiplusStartup | ( | ULONG_PTR * | token, | |
| const GdiplusStartupInput * | input, | |||
| GdiplusStartupOutput * | output | |||
| ) |
References gdipluslib.
| Status GdipSaveImageToStream | ( | GpImage * | image, | |
| IStream * | stream, | |||
| CLSID * | clsidEncoder, | |||
| EncoderParameters * | encoderParams | |||
| ) |
| void initGDIPlus | ( | ) |
| bool isGDIPlusAvailable | ( | ) |
References gdiplusToken, and initGDIPlus().
Referenced by IE_ImpGraphic_Win32Native::_convertGraphic().
| void shutDownGDIPlus | ( | ) |
References GdiplusShutdown(), and gdiplusToken.
| typedef Status | ( | CALLBACK * | GDIPLUSSTARTUP | ) |
| typedef void | ( | CALLBACK * | GDIPLUSSHUTDOWN | ) |
Referenced by IE_Exp::_abortFile(), IE_Exp::_closeFile(), changed_cb(), GR_Win32Graphics::drawLine(), g_cclosure_user_marshal_VOID__INT_INT_INT(), g_cclosure_user_marshal_VOID__UINT_UINT(), go__VOID__INT_BOOLEAN_BOOLEAN_BOOLEAN(), go_file_get_group_name(), go_file_get_owner_name(), go_get_real_name(), hash_slot< ODe_ListLevelStyle * >::key_eq(), GR_Win32Graphics::polygon(), GR_Win32Graphics::polyLine(), GOComponentView::update(), and UT_go_get_real_name().
| CLSID gdip_png_guid = { 0x557cf406, 0x1a04, 0x11d3, { 0x9a, 0x73, 0x0, 0x0, 0xf8, 0x1e, 0xf3, 0x2e } } |
Referenced by GDIconvertGraphic().
HINSTANCE gdipluslib = NULL [static] |
Referenced by gdip_init(), GdipDisposeImage(), GdipLoadImageFromStream(), GdiplusShutdown(), GdiplusStartup(), GdipSaveImageToStream(), and initGDIPlus().
ULONG_PTR gdiplusToken = NULL [static] |
Referenced by gdip_init(), initGDIPlus(), isGDIPlusAvailable(), and shutDownGDIPlus().
1.5.5