sp-font-face.h revision a2e6e13c14553c9fc1e16d8cd6ebc3b71c6bccef
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifndef __SP_FONTFACE_H__
#define __SP_FONTFACE_H__
#include <vector>
/*
* SVG <font-face> element implementation
*
* Section 20.8.3 of the W3C SVG 1.1 spec
* available at:
* http://www.w3.org/TR/SVG/fonts.html#FontFaceElement
*
* Authors:
* Felipe C. da S. Sanches <juca@members.fsf.org>
*
* Copyright (C) 2008 Felipe C. da S. Sanches
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "sp-object.h"
enum FontFaceStyleType{
};
enum FontFaceVariantType{
};
enum FontFaceWeightType{
};
enum FontFaceStretchType{
};
enum FontFaceUnicodeRangeType{
};
SPFontFace();
virtual ~SPFontFace();
char* font_family;
char* font_size;
double units_per_em;
double stemv;
double stemh;
double slope;
double cap_height;
double x_height;
double accent_height;
double ascent;
double descent;
char* widths;
char* bbox;
double ideographic;
double alphabetic;
double mathematical;
double hanging;
double v_ideographic;
double v_alphabetic;
double v_mathematical;
double v_hanging;
double underline_position;
double underline_thickness;
double strikethrough_position;
double strikethrough_thickness;
double overline_position;
double overline_thickness;
virtual Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, guint flags);
};
#endif //#ifndef __SP_FONTFACE_H__