123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- #pragma warning disable
- namespace Svg
- {
- public abstract class SvgKern : SvgElement
- {
- [SvgAttribute("g1")]
- public string Glyph1
- {
- get { return this.Attributes["g1"] as string; }
- set { this.Attributes["g1"] = value; }
- }
- [SvgAttribute("g2")]
- public string Glyph2
- {
- get { return this.Attributes["g2"] as string; }
- set { this.Attributes["g2"] = value; }
- }
- [SvgAttribute("u1")]
- public string Unicode1
- {
- get { return this.Attributes["u1"] as string; }
- set { this.Attributes["u1"] = value; }
- }
- [SvgAttribute("u2")]
- public string Unicode2
- {
- get { return this.Attributes["u2"] as string; }
- set { this.Attributes["u2"] = value; }
- }
- [SvgAttribute("k")]
- public float Kerning
- {
- get { return (this.Attributes["k"] == null ? 0 : (float)this.Attributes["k"]); }
- set { this.Attributes["k"] = value; }
- }
- }
- [SvgElement("vkern")]
- public class SvgVerticalKern : SvgKern
- {
- public override SvgElement DeepCopy()
- {
- return base.DeepCopy<SvgVerticalKern>();
- }
- }
- [SvgElement("hkern")]
- public class SvgHorizontalKern : SvgKern
- {
- public override SvgElement DeepCopy()
- {
- return base.DeepCopy<SvgHorizontalKern>();
- }
- }
- }
- #pragma warning restore
|