コード例 #1
0
        public void TestUnicodeFontWriteableBitmapAdapter()
        {
            UnicodeFontFactory factory = new UnicodeFontFactory(Install, Container);
            ImageSource        text    = factory.GetText <ImageSource>(0, "This is a test", 0);

            Guard.AssertIsNotNull(text, "Unicode Font was not created.");
        }
コード例 #2
0
ファイル: BitmapAdapterTests.cs プロジェクト: uotools/OpenUO
        public void TestUnicodeFontBitmapAdapter()
        {
            var factory = new UnicodeFontFactory(Install, Container);
            var text    = factory.GetText <Bitmap>(0, "This is a test", 0);

            Guard.RequireIsNotNull(text, "Unicode Font was not created.");
        }
コード例 #3
0
 public void TestUnicodeFontBitmapAdapter()
 {
     UnicodeFontFactory factory = new UnicodeFontFactory(Install, Container);
     Bitmap text = factory.GetText<Bitmap>(0, "This is a test", 0);
     Guard.AssertIsNotNull(text, "Unicode Font was not created.");
 }
コード例 #4
0
        public void TestUnicodeFontWriteableBitmapAdapter()
        {
            var factory = new UnicodeFontFactory(Install, Container);
            var text = factory.GetText<ImageSource>(0, "This is a test", 0);

            Guard.RequireIsNotNull(text, "Unicode Font was not created.");
        }