TAILIEUCHUNG - programming windows phone 7 phần 5

nhưng chỉ có khả năng làm việc với một tập tin duy nhất. Chương trình cũng cho phép thay đổi kích thước phông chữ, vì vậy lớp QuickNotesSettings cho cài đặt ứng dụng của chương trình có hai tài sản công cộng được đặt tên chữ và Cỡ chữ, cộng với các phương pháp để tiết kiệm và tải những tài sản trong lưu trữ bị cô lập | Chapter 13 Vector Graphics The world of two-dimensional computer graphics is generally divided between vector graphics and raster graphics a graphics of lines and a graphics of pixels a graphics of draw programs and a graphics of paint programs a graphics of cartoons and a graphics of photographs. Vector graphics is the visual realization of analytic geometry. Two-dimensional coordinate points in the form x y define straight lines and curves. In Silverlight these curves can be arcs on the circumference of an ellipse or Bezier curves either in the customary cubic form or in a simplified quadratic form. You can stroke these lines with a pen of a desired brush width and style. A series of connected lines and curves can also define an enclosed area that can be filled with a brush. Raster graphics which I ll discuss in the next chapter involves bitmaps. In Silverlight it is very easy to display a PNG or JPEG file using an Image element as I demonstrated as early as Chapter 4. But as I ll show you in the next chapter it s also possible to generate bitmaps algorithmically in code using the WriteableBitmap class. The worlds of raster graphics and vector graphics intersect when an ImageBrush is used to fill an area or when vector graphics are used to generate an image on a WriteableBitmap. The Shapes Library A Silverlight program that needs to draw vector graphics uses classes defined in the namespace commonly referred to as the Shapes library. This namespace consists of an abstract class named Shape and six sealed classes that derive from Shape Object DependencyObject abstract FrameworkElement abstract Shape abstract Rectangle sealed Ellipse sealed Line sealed Polyline sealed Polygon sealed Path sealed 393 The Shape class derives from FrameworkElement which means that these objects get touch input participate in layout and can have transforms. In Silverlight there is insufficient information to allow you to derive a class from Shape itself. You ve .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.