Program the Canvas Control 2 with Xojo (XDL-0008)

$15.99
xDev Magazine
3 ratings

I Wish I Knew How To... Program the Canvas Control 2 with Xojo Desktop will provide you with the ability to learn how to modify pictures, graphics, make animation, and how to make two games.

The focus of this book is to work with topics related to the Canvas Control. All of these examples are created with native Xojo code and does not use any third party programs. The examples have been tested on Windows 10, OS X Mojave 10.14.3, and Ubuntu 18.04 Operating Systems.

By the time you finish the book you will be able to apply skills from these examples to create your own programs!

Examples were tested on Xojo 2018r4. There is an older Canvas book that has legacy code for Xojo 2014r2 that works without the changes in the Xojo Language.

Goals of the newer updated Canvas 2 book:

* Most drawings are drawn in the Paint event with the Graphics property

* Drawing speed has been increased

* Windows calls the paint event with Invalidate(False) to improve speed and prevent erasing the canvas

* Most examples have been converted to double data-types for drawing locations on the canvas

* Faster RGBSurface.Pixel drawing has been updated from the older graphics. Pixel method (deprecated since 2016 r1)

* Added basic sound in the Space Ship Shooter game

* Removed most PBuffer picture properties and replaced with algorithms to draw in the Paint event (some examples required this property to exist)

* Removed GDIPlus from Windows examples

* Added a couple HiDPI/Retina Examples

* Increased resolution of example screen grabs

* Used the more popular TargetWindows instead of TargetWin32 command

* Added PDF bookmarks for easier reference

* Attempts were made to maintain the same output of the original examples from the first Canvas book to the second Canvas book

What is included with the purchase of this book:

Thirteen chapters and over 450 pages of code to build 60 example programs. Create realistic 2D game motion. It also includes example images and the ways to use them in programs. The book is in PDF format with example chapter folders containing Xojo source code and running examples.

The ebook is a pdf formatted document and all examples include Xojo code. The Table of Contents can be viewed for this book at the authors website (https://scispec.ca)

ISBN: 978-1-927924-24-2

I want this!
Size
8.22 MB

Ratings

4.7
(3 ratings)
5 stars
67%
4 stars
33%
3 stars
0%
2 stars
0%
1 star
0%
$15.99

Program the Canvas Control 2 with Xojo (XDL-0008)

3 ratings
I want this!