예제 #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);
 }
예제 #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);
        }
예제 #4
0
 public Font()
     : base()
 {
     this.name        = Name.Uninitialized;
     this.pFontSprite = new FontSprite();
 }
예제 #5
0
 //----------------------------------------------------------------------------------
 // Constructor
 //----------------------------------------------------------------------------------
 public Font() : base()
 {
     this.name        = Font.Name.Uninitialized;
     this.pFontSprite = new FontSprite();
     this.pFontSprite.SetColor(1.0f, 1.0f, 1.0f);
 }
예제 #6
0
 public Font() : base()
 {
     this.fontName    = FontName.Uninitialized;
     this.cFontSprite = new FontSprite();
 }
예제 #7
0
 //EDIT THE FOLLOWING METHODS---------------------
 public FontNode()
     : base()
 {
     this.name        = Name.Blank;
     this.pFontSprite = new FontSprite();
 }