Functions

ut_svg.cpp File Reference

#include <string.h>
#include <ctype.h>
#include "ut_math.h"
#include "ut_units.h"
#include "ut_string.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_svg.h"

Functions

static bool _recognizeContent (const char *buffer, UT_uint32 buflen, UT_svg *data)
static void _css_length (const char *str, GR_Graphics *pG, UT_sint32 *iDisplayLength, UT_sint32 *iLayoutLength)
bool UT_SVG_getDimensions (const UT_ConstByteBufPtr &pBB, GR_Graphics *pG, UT_sint32 &iDisplayWidth, UT_sint32 &iDisplayHeight, UT_sint32 &iLayoutWidth, UT_sint32 &iLayoutHeight)
bool UT_SVG_recognizeContent (const char *szBuf, UT_uint32 iNumbytes)
static bool BNF_wsp_star (const char **pptr)
static bool BNF_comma_wsp (const char **pptr)
static bool BNF_number (const char **pptr, float *number)

Function Documentation

static void _css_length ( const char *  str,
GR_Graphics pG,
UT_sint32 iDisplayLength,
UT_sint32 iLayoutLength 
) [static]
static bool _recognizeContent ( const char *  buffer,
UT_uint32  buflen,
UT_svg data 
) [static]
static bool BNF_comma_wsp ( const char **  pptr  )  [static]

References BNF_wsp_star().

Referenced by UT_SVGMatrix::applyTransform().

static bool BNF_number ( const char **  pptr,
float *  number 
) [static]
static bool BNF_wsp_star ( const char **  pptr  )  [static]
bool UT_SVG_getDimensions ( const UT_ConstByteBufPtr pBB,
GR_Graphics pG,
UT_sint32 iDisplayWidth,
UT_sint32 iDisplayHeight,
UT_sint32 iLayoutWidth,
UT_sint32 iLayoutHeight 
)
bool UT_SVG_recognizeContent ( const char *  szBuf,
UT_uint32  iNumbytes 
)