示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlyphShaderProxy"/> structure.
 /// </summary>
 /// <param name="glyphShader">The glyph shader which is represented by this proxy.</param>
 private GlyphShaderProxy(GlyphShader glyphShader)
 {
     this.glyphShaderScopedStack = null;
     this.glyphShaderStack       = null;
     this.glyphShader            = glyphShader;
     this.isValid = true;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GlyphShaderProxy"/> structure.
 /// </summary>
 /// <param name="glyphShader">The glyph shader which is represented by this proxy.</param>
 private GlyphShaderProxy(GlyphShader glyphShader)
 {
     this.glyphShaderScopedStack = null;
     this.glyphShaderStack = null;
     this.glyphShader = glyphShader;
     this.isValid = true;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlyphShaderProxy"/> structure.
 /// </summary>
 /// <param name="glyphShaderScopedStack">The glyph shader stack which is represented by this proxy.</param>
 private GlyphShaderProxy(Stack<TextStyleScoped<GlyphShader>> glyphShaderScopedStack)
 {
     this.glyphShaderScopedStack = glyphShaderScopedStack;
     this.glyphShaderStack = null;
     this.glyphShader = null;
     this.isValid = true;
 }