Skip to content

Category: Tutorials

tutorials, longer instructional posts, how to’s

Algorithm: Equally Spaced Ranges

There are some situations where you may need a range of numbers that is equally spaced. For example, when given a minimum and a maximum value within which a set of numbers that need to be equally spaced. This is useful if you are designing an UI control displaying “ticks” or for the axis of a graphic chart displaying cartesian values. Continue reading to see a technique to do just this.

Comments closed

Xojo Github Actions

Would you like to automate the build processes of Xojo built applications with GitHub Actions? With no user interaction the whole process can be performed:…

Comments closed

Rotate that Picture!

Sometimes we need to rotate a Picture from portrait to landscape and vice versa. Since the introduction of the Graphics methods Translate and Rotate this is pretty simple to do! Continue reading and I will show you how to create a Method Extension for the Picture class that will be able to do that. This will work on Desktop and iOS projects by only copying and pasting the code, but you will need to make some changes to the example project for the Web version because of the need to convert Picture to WebPicture and back.

Comments closed