예제 #1
0
	public static void Invalidate( dfFontBase font )
	{

		if( font == null || !( font is dfDynamicFont ) )
			return;

		if( !dirty.Contains( font ) )
		{
			dirty.Add( font );
		}

	}
    public static void Invalidate(dfFontBase font)
    {
        if (font == null || !(font is dfDynamicFont))
        {
            return;
        }

        if (!dirty.Contains(font))
        {
            dirty.Add(font);
        }
    }
    public static void FlagPendingRequests(dfFontBase font)
    {
        var dynamicFont = font as dfDynamicFont;

        if (dynamicFont != null)
        {
            if (!rebuildList.Contains(dynamicFont))
            {
                rebuildList.Add(dynamicFont);
            }
        }
    }
예제 #4
0
	public static void FlagPendingRequests( dfFontBase font )
	{

		var dynamicFont = font as dfDynamicFont;
		if( dynamicFont != null )
		{
			if( !rebuildList.Contains( dynamicFont ) )
			{
				rebuildList.Add( dynamicFont );
			}
		}
		
	}
예제 #5
0
	public static bool IsDirty( dfFontBase font )
	{
		return dirty.Contains( font );
	}
 public static bool IsDirty(dfFontBase font)
 {
     return(dirty.Contains(font));
 }