TAILIEUCHUNG - Real World Adobe InDesign CS4- P25

Real World Adobe InDesign CS4- P25: The book uses Robert Slimbach’s Minion Pro, an Adobe OpenType face, which was particularly useful when moving files across platforms. Code samples are set in Lucas de Groot’s TheSansMonoCondensed. A few other fonts were used for example characters. | 708 REAL WORLD ADOBE INDESIGN CS4 JavaScript Visual Basic The following script fragment shows the heart of our NINA drawing script for the complete script go to David s web site see Where to Get the Scripts in this Chapter earlier in this chapter . function myDrawNina myNumberOfLines a_pulse b_pulse myLength myClosedPath var cur_x cur_y var myAnchor new Array 2 var myArray new Array Rather than draw the entire path point-by-point we ll fill an array and then use it to fill in all of the point locations at once using the entirePath property. for var myCounter 0 myCounter myNumberOfLines myCounter cur_x -2 a_pulse myCounter myNumberOfLines -2 b_pulse myCounter myNumberOfLines myLength cur_y -2 a_pulse myCounter myNumberOfLines -2 b_pulse myCounter myNumberOfLines myLength myAnchor cur_x cur_y myAnchor var myPage var myGraphicLine undefined 1p 1p var myPath o Now set the entire path to the contents of the array. myArray if myClosedPath true else Label the graphic line with the parameters used to create it. number_of_lines myNumberOfLines a_pulse a_pulse b_pulse b_pulse The following script fragment shows the heart of our NINA drawing script for the complete script go to David s web site see Where to Get the Scripts in this Chapter earlier in this chapter . As usual _ indicates a line break in this layout do not break the line or type the character . Function myDrawNina myInDesign myNumberOfLines a_pulse b_pulse _ myLength myClosedPath pi Set myDocument .

TỪ KHÓA LIÊN QUAN
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.