Esempio n. 1
0
 public Font()
     : base()
 {
     this.name        = Name.Uninitialized;
     this.pFontSprite = new FontSprite();
     this.pFontSprite.Set(Font.Name.NullObject, pNullString, Glyph.Name.NullObject, 0.0f, 0.0f);
 }
Esempio n. 2
0
        public SpriteBaseRef Attach(FontSprite pNode)
        {
            Debug.Assert(this.pSBRefManager != null);
            SpriteBaseRef pSBRef = this.pSBRefManager.Attach(pNode);

            return(pSBRef);
        }
        public SpriteBaseRef Attach(FontSprite pNode)
        {
            SpriteBaseRef pSBNode = (SpriteBaseRef)this.BaseAdd();

            Debug.Assert(pSBNode != null);

            // Initialize SpriteBaseRef
            pSBNode.Set(pNode);

            return(pSBNode);
        }
Esempio n. 4
0
 public Font()
     : base()
 {
     this.name        = Name.Uninitialized;
     this.pFontSprite = new FontSprite();
 }
Esempio n. 5
0
 //----------------------------------------------------------------------------------
 // Constructor
 //----------------------------------------------------------------------------------
 public Font() : base()
 {
     this.name        = Font.Name.Uninitialized;
     this.pFontSprite = new FontSprite();
     this.pFontSprite.SetColor(1.0f, 1.0f, 1.0f);
 }
Esempio n. 6
0
 public Font() : base()
 {
     this.fontName    = FontName.Uninitialized;
     this.cFontSprite = new FontSprite();
 }
Esempio n. 7
0
 //EDIT THE FOLLOWING METHODS---------------------
 public FontNode()
     : base()
 {
     this.name        = Name.Blank;
     this.pFontSprite = new FontSprite();
 }