PixelFarm.Drawing.Fonts.SimpleFontAtlas.GetRectByCodePoint C# (CSharp) Method

GetRectByCodePoint() public method

public GetRectByCodePoint ( int codepoint, TextureFontGlyphData &glyphdata ) : bool
codepoint int
glyphdata TextureFontGlyphData
return bool
        public bool GetRectByCodePoint(int codepoint, out TextureFontGlyphData glyphdata)
        {
            if (!codePointLocations.TryGetValue(codepoint, out glyphdata))
            {
                glyphdata = null;
                return false;
            }
            return true;
        }