コード例 #1
0
ファイル: GdiPlusDrawer2D.cs プロジェクト: dhtdht020/GTTMCube
 protected override void DrawBitmappedText(ref DrawTextArgs args, int x, int y)
 {
     using (bitmapWrapper) {
         bitmapWrapper.SetData(curBmp, true, false);
         DrawBitmapTextImpl(bitmapWrapper, ref args, x, y);
     }
 }
コード例 #2
0
        public override void DrawBitmappedText(ref DrawTextArgs args, int x, int y)
        {
            if (!args.SkipPartsCheck)
            {
                GetTextParts(args.Text);
            }

            using ( bitmapWrapper ) {
                bitmapWrapper.SetData(curBmp, true, false);
                DrawBitmapTextImpl(bitmapWrapper, ref args, x, y);
            }
        }