Книга C# Graphics Programming C# Graphics Programming Книги C# Автор: Rod Stephens Год издания: 2009 Формат: chm Издат.:Wiley Publishing Страниц: 90 Размер: 4 ISBN: 9780470343494 Язык: Английский0 (голосов: 0) Оценка:This Wrox Blox teaches you how to add graphics to C# 2008 applications, explaining fundamental graphics techniques such as: drawing shapes with different colors and line styles; filling areas with colors, gradients, and patterns; drawing text that is properly aligned, sized, and clipped exactly where you want it; manipulating images and saving results in bitmap, JPEG, and other types of files. Also covered are instructions for how to greatly increase your graphics capabilities using transformations. Transformations allow you to move, stretch, or rotate graphics. They also let you work in coordinate systems that make sense for your application. You will also learn how to use all of these techniques in printouts. The author describes the sequence of events that produce a printout and shows how to generate and preview printouts. The final sections describe two powerful new graphic tools that were introduced with .NET Framework 3.0: WPF graphics and FlowDocuments. WPF applications can use XAML graphic commands to declaratively draw and fill the same kinds of shapes that a program can draw by using graphics objects. Finally, a discussion on the FlowDocument object shows you how to define items that should be flowed across multiple pages as space permits. This lets you display text, graphics, controls, and other items that automatically flow across page breaks. FlowDocument viewers make displaying these documents easy for you, and simplifies the user’s reading of the documents. This Wrox Blox also contains 35 example programs written in C# 2008, although most of the code works in previous versions of C# as well. The most notable exceptions are WPF graphics and FlowDocuments, both of which require WPF provided in .NET Framework 3.0 and later.
ترجمه فارسی (ترجمه ماشینی)
Kniga C# Graphics Programming C# Graphics Programming Книги C# نویسنده: Rod Stephens Год издания: 2009 فرمت: chm منتشر شده.:Wiley Publishing طبقه: 90 ابعاد: 4 ISBN: 9780470343494 ISBN: 9780470343494 برای افزودن گرافیک به برنامه های C# 2008، توضیح تکنیک های گرافیکی اساسی مانند: رسم اشکال با رنگ ها و سبک های مختلف. پر کردن مناطق با رنگ ها، شیب ها و الگوها. طراحی متنی که به درستی تراز، اندازه و دقیقاً در جایی که شما می خواهید برش داده شده است. دستکاری تصاویر و ذخیره نتایج در bitmap، JPEG و انواع دیگر فایل ها. همچنین دستورالعمل هایی در مورد چگونگی افزایش تا حد زیادی قابلیت های گرافیکی خود با استفاده از تبدیل ها ارائه شده است. تبدیل ها به شما امکان می دهند گرافیک ها را جابجا، کشش یا بچرخانید. آنها همچنین به شما اجازه می دهند در سیستم های مختصاتی که برای برنامه شما منطقی هستند کار کنید. شما همچنین یاد خواهید گرفت که چگونه از تمام این تکنیک ها در چاپ های چاپی استفاده کنید. نویسنده توالی وقایعی را که یک چاپ را تولید میکنند، توصیف میکند و نحوه تولید و پیشنمایش چاپها را نشان میدهد. بخشهای پایانی دو ابزار گرافیکی قدرتمند جدید را که با .NET Framework 3.0 معرفی شدند، شرح میدهند: گرافیک WPF و FlowDocuments. برنامههای WPF میتوانند از دستورات گرافیکی XAML برای ترسیم و پر کردن همان اشکالی که یک برنامه میتواند با استفاده از اشیاء گرافیکی ترسیم کند، استفاده کنند. در نهایت، یک بحث در مورد شی FlowDocument به شما نشان می دهد که چگونه مواردی را تعریف کنید که باید در چندین صفحه به عنوان فضای مجاز جریان داشته باشند. این به شما امکان میدهد متن، گرافیک، کنترلها و سایر مواردی را که بهطور خودکار در شکستگیهای صفحه جریان دارند، نمایش دهید. نمایشگرهای FlowDocument نمایش این اسناد را برای شما آسان می کنند و خواندن اسناد توسط کاربر را ساده می کنند. این Wrox Blox همچنین شامل 35 برنامه نمونه است که در سی شارپ 2008 نوشته شده اند، اگرچه اکثر کدها در نسخه های قبلی سی شارپ نیز کار می کنند. قابل توجه ترین استثناها گرافیک WPF و FlowDocuments هستند که هر دو به WPF ارائه شده در NET Framework 3.0 و جدیدتر نیاز دارند.
نقد و بررسیها
هنوز بررسیای ثبت نشده است.