draw

MacOS screen annotation/presentation software

I was going to write a little application to let me annotate my MacOS screen during presentations, but the Ink2Go product looks like it does exactly what I was thinking. As I’m creating a video presentation, such as when showing how to write some Scala or Android code, I want to be able to draw on the screen, such as writing text, arrows, circles, and boxes to highlight parts of the screen. Ink2Go looks like what I want.

How to draw a circle in Android (onDraw method in View)

Android FAQ: How do I draw a circle in Android?

To draw a circle in Android you just need to create your own View class and then use that in your Activity. For example, the following CustomView shows how to extend a View and draw a circle in the onDraw method:

How to draw a rectangle in Android (using onDraw method of View)

Android FAQ: How do I draw a rectangle in Android?

To draw a rectangle in Android you’ll need to create your own View, i.e., a class that extends the Android View class. For example, this CustomView shows how to extend a View and then use the Rect and Paint classes along with the onDraw method to draw a rectangle:

ASCII drawing programs

Every time I go back to writing GUI programs, I find that I want to document my UI layout code, especially when I use something like a JGoodies layout in a Java/Swing application. I just took a look around and found some ASCII drawing programs, which may help me create the documentation I’m looking for, i.e., an ASCII drawing I can put in my Java/Scala comments, above my UI layout code. I created this particular drawing with asciiflow.com.

A Gimp circle tutorial: How to draw a circle in Gimp

Gimp circle FAQ: How do I draw a circle in Gimp?

I just used Gimp to create several circle images in my iPhone Safari browser privacy and security tutorial, and here's a short tutorial on how I created them. I normally use hollow circle images to highlight something in the original image, I'll demonstrate that here, but I'll also show how to create solid circles in Gimp, which are even easier to create.

How to draw a straight line in Gimp

It's embarrassing to say how long I've been using GIMP without knowing how to draw a straight line, but ... skipping that story ... here's a quick tutorial on how to draw a straight line with GIMP.

GIMP straight line: Step 1

Step 1 in the process is to have an image you want to draw a straight line on. I'll assume you have a practical image you're working with, but for my purposes, I'll be drawing a straight line in black, on a white canvas. Here's my white canvas: