Click here to Skip to main content
15,892,697 members
Articles / Desktop Programming / WPF

SharpVectors - SVG# Reloaded: An Introduction

Rate me:
Please Sign up or sign in to vote.
4.98/5 (33 votes)
17 Nov 2010BSD10 min read 205.6K   21.7K   101  
A C# library for converting SVG to WPF and viewing SVG files in WPF Applications
// <developer>niklas@protocol7.com</developer>
// <completed>100</completed>

using System;

namespace SharpVectors.Dom.Svg
{
	/// <summary>
	/// Used for attributes whose value must be a constant from 
	/// a particular enumeration and which can be animated.
	/// </summary>
	public interface ISvgAnimatedEnumeration
	{
		/// <summary>
		/// The base value of the given attribute before 
		/// applying any animations.  Inheriting Class should throw
		/// an exception when the value is read only
		/// </summary>
		ushort BaseVal { get; set; }

		/// <summary>
		/// If the given attribute or property is being animated, 
		/// contains the current animated value of the attribute or 
		/// property. If the given attribute or property is not 
		/// currently being animated, contains the same value as 
		/// 'BaseVal'. 
		/// </summary>
		ushort AnimVal { get; }
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Engineer
Japan Japan
Systems Engineer

Comments and Discussions