-
Eric Domke authored
- Adding W3C test cases and a test fixture - Fixed support for CSS stylesheets (particularly when class names are referenced) - Refactoring unit calculations so that percentages and fractions calculate more accurately - SvgImage: - Support PreserveAspectRatio attribute - Support for referencing svg images - Refactored text rendering to use the AttributeCollection inheritance scheme - Initial attempt at 'ex' unit support - Added support for system color names - Changed parsing of entities to support XML entities - Supporting loading of a svg document directly from a XmlDocument with requiring serializing the document as a string first. - ...
d5c659a5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Svg
{
/// <summary>
/// Text anchor is used to align (start-, middle- or end-alignment) a string of text relative to a given point.
/// </summary>
public enum SvgTextAnchor
{
/// <summary>
/// The rendered characters are aligned such that the start of the text string is at the initial current text position.
/// </summary>
Start,
/// <summary>
/// The rendered characters are aligned such that the middle of the text string is at the current text position.
/// </summary>
Middle,
/// <summary>
/// The rendered characters are aligned such that the end of the text string is at the initial current text position.
/// </summary>
End
}
}