Defines | Functions

ut_Xpm2Bmp.cpp File Reference

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include "ut_types.h"
#include "ut_debugmsg.h"
#include "ut_assert.h"
#include "ut_color.h"
#include "ut_misc.h"
#include "ut_hash.h"
#include "ut_string.h"
#include "ut_string_class.h"

Defines

#define _RoundUp(x, y)   ((((x)+((y)-1))/(y))*(y))

Functions

bool UT_Xpm2Bmp (UT_uint32 maxWidth, UT_uint32 maxHeight, const char **pIconData, UT_uint32 sizeofData, HDC hdc, UT_RGBColor *pBackgroundColor, HBITMAP *pBitmap)

Define Documentation

#define _RoundUp (   x,
  y 
)    ((((x)+((y)-1))/(y))*(y))

Referenced by UT_Xpm2Bmp().


Function Documentation

bool UT_Xpm2Bmp ( UT_uint32  maxWidth,
UT_uint32  maxHeight,
const char **  pIconData,
UT_uint32  sizeofData,
HDC  hdc,
UT_RGBColor pBackgroundColor,
HBITMAP *  pBitmap 
)