MuseScore  3.4
Music composition and notation
Classes | Macros
svggenerator.cpp File Reference
#include "svggenerator.h"
#include "libmscore/element.h"
#include "libmscore/image.h"
#include "libmscore/imageStore.h"
#include "libmscore/mscore.h"
Include dependency graph for svggenerator.cpp:

Classes

class  SvgPaintEnginePrivate
 
struct  SvgPaintEnginePrivate::_attributes
 
class  SvgPaintEngine
 
class  SvgGeneratorPrivate
 

Macros

#define SVG_SPACE   ' '
 
#define SVG_QUOTE   "\""
 
#define SVG_COMMA   ","
 
#define SVG_GT   ">"
 
#define SVG_PX   "px"
 
#define SVG_NONE   "none"
 
#define SVG_EVENODD   "evenodd"
 
#define SVG_BUTT   "butt"
 
#define SVG_SQUARE   "square"
 
#define SVG_ROUND   "round"
 
#define SVG_MITER   "miter"
 
#define SVG_BEVEL   "bevel"
 
#define SVG_ONE   "1"
 
#define SVG_BLACK   "#000000"
 
#define SVG_BEGIN   "<svg"
 
#define SVG_END   "</svg>"
 
#define SVG_WIDTH   " width=\""
 
#define SVG_HEIGHT   " height=\""
 
#define SVG_VIEW_BOX   " viewBox=\""
 
#define SVG_X   " x="
 
#define SVG_Y   " y="
 
#define SVG_POINTS   " points=\""
 
#define SVG_D   " d=\""
 
#define SVG_MOVE   'M'
 
#define SVG_LINE   'L'
 
#define SVG_CURVE   'C'
 
#define SVG_CLASS   " class=\""
 
#define SVG_ELEMENT_END   "/>"
 
#define SVG_RPAREN_QUOTE   ")\""
 
#define SVG_TITLE_BEGIN   "<title>"
 
#define SVG_TITLE_END   "</title>"
 
#define SVG_DESC_BEGIN   "<desc>"
 
#define SVG_DESC_END   "</desc>"
 
#define SVG_IMAGE   "<image"
 
#define SVG_PATH   "<path"
 
#define SVG_POLYLINE   "<polyline"
 
#define SVG_PRESERVE_ASPECT   " preserveAspectRatio=\""
 
#define SVG_FILL   " fill=\""
 
#define SVG_STROKE   " stroke=\""
 
#define SVG_STROKE_WIDTH   " stroke-width=\""
 
#define SVG_STROKE_LINECAP   " stroke-linecap=\""
 
#define SVG_STROKE_LINEJOIN   " stroke-linejoin=\""
 
#define SVG_STROKE_DASHARRAY   " stroke-dasharray=\""
 
#define SVG_STROKE_DASHOFFSET   " stroke-dashoffset=\""
 
#define SVG_STROKE_MITERLIMIT   " stroke-miterlimit=\""
 
#define SVG_OPACITY   " opacity=\""
 
#define SVG_FILL_OPACITY   " fill-opacity=\""
 
#define SVG_STROKE_OPACITY   " stroke-opacity=\""
 
#define SVG_FONT_FAMILY   " font-family=\""
 
#define SVG_FONT_SIZE   " font-size=\""
 
#define SVG_FILL_RULE   " fill-rule=\"evenodd\""
 
#define SVG_VECTOR_EFFECT   " vector-effect=\"non-scaling-stroke\""
 
#define SVG_MATRIX   " transform=\"matrix("
 

Macro Definition Documentation

◆ SVG_BEGIN

#define SVG_BEGIN   "<svg"

◆ SVG_BEVEL

#define SVG_BEVEL   "bevel"

◆ SVG_BLACK

#define SVG_BLACK   "#000000"

◆ SVG_BUTT

#define SVG_BUTT   "butt"

◆ SVG_CLASS

#define SVG_CLASS   " class=\""

◆ SVG_COMMA

#define SVG_COMMA   ","

◆ SVG_CURVE

#define SVG_CURVE   'C'

◆ SVG_D

#define SVG_D   " d=\""

◆ SVG_DESC_BEGIN

#define SVG_DESC_BEGIN   "<desc>"

◆ SVG_DESC_END

#define SVG_DESC_END   "</desc>"

◆ SVG_ELEMENT_END

#define SVG_ELEMENT_END   "/>"

◆ SVG_END

#define SVG_END   "</svg>"

◆ SVG_EVENODD

#define SVG_EVENODD   "evenodd"

◆ SVG_FILL

#define SVG_FILL   " fill=\""

◆ SVG_FILL_OPACITY

#define SVG_FILL_OPACITY   " fill-opacity=\""

◆ SVG_FILL_RULE

#define SVG_FILL_RULE   " fill-rule=\"evenodd\""

◆ SVG_FONT_FAMILY

#define SVG_FONT_FAMILY   " font-family=\""

◆ SVG_FONT_SIZE

#define SVG_FONT_SIZE   " font-size=\""

◆ SVG_GT

#define SVG_GT   ">"

◆ SVG_HEIGHT

#define SVG_HEIGHT   " height=\""

◆ SVG_IMAGE

#define SVG_IMAGE   "<image"

◆ SVG_LINE

#define SVG_LINE   'L'

◆ SVG_MATRIX

#define SVG_MATRIX   " transform=\"matrix("

◆ SVG_MITER

#define SVG_MITER   "miter"

◆ SVG_MOVE

#define SVG_MOVE   'M'

◆ SVG_NONE

#define SVG_NONE   "none"

◆ SVG_ONE

#define SVG_ONE   "1"

◆ SVG_OPACITY

#define SVG_OPACITY   " opacity=\""

◆ SVG_PATH

#define SVG_PATH   "<path"

◆ SVG_POINTS

#define SVG_POINTS   " points=\""

◆ SVG_POLYLINE

#define SVG_POLYLINE   "<polyline"

◆ SVG_PRESERVE_ASPECT

#define SVG_PRESERVE_ASPECT   " preserveAspectRatio=\""

◆ SVG_PX

#define SVG_PX   "px"

◆ SVG_QUOTE

#define SVG_QUOTE   "\""

◆ SVG_ROUND

#define SVG_ROUND   "round"

◆ SVG_RPAREN_QUOTE

#define SVG_RPAREN_QUOTE   ")\""

◆ SVG_SPACE

#define SVG_SPACE   ' '

◆ SVG_SQUARE

#define SVG_SQUARE   "square"

◆ SVG_STROKE

#define SVG_STROKE   " stroke=\""

◆ SVG_STROKE_DASHARRAY

#define SVG_STROKE_DASHARRAY   " stroke-dasharray=\""

◆ SVG_STROKE_DASHOFFSET

#define SVG_STROKE_DASHOFFSET   " stroke-dashoffset=\""

◆ SVG_STROKE_LINECAP

#define SVG_STROKE_LINECAP   " stroke-linecap=\""

◆ SVG_STROKE_LINEJOIN

#define SVG_STROKE_LINEJOIN   " stroke-linejoin=\""

◆ SVG_STROKE_MITERLIMIT

#define SVG_STROKE_MITERLIMIT   " stroke-miterlimit=\""

◆ SVG_STROKE_OPACITY

#define SVG_STROKE_OPACITY   " stroke-opacity=\""

◆ SVG_STROKE_WIDTH

#define SVG_STROKE_WIDTH   " stroke-width=\""

◆ SVG_TITLE_BEGIN

#define SVG_TITLE_BEGIN   "<title>"

◆ SVG_TITLE_END

#define SVG_TITLE_END   "</title>"

◆ SVG_VECTOR_EFFECT

#define SVG_VECTOR_EFFECT   " vector-effect=\"non-scaling-stroke\""

◆ SVG_VIEW_BOX

#define SVG_VIEW_BOX   " viewBox=\""

◆ SVG_WIDTH

#define SVG_WIDTH   " width=\""

◆ SVG_X

#define SVG_X   " x="

◆ SVG_Y

#define SVG_Y   " y="