Please enable JavaScript to view this site.

KOL/MCK - User Guide

Canvas - the canvas of the image object itself, allows you to use all the capabilities of the canvas object to draw on the image in memory. Drawing in memory is usually faster than directly on the window context, and besides, if you draw on a window, the user will be able to observe the drawing process itself, or at least flicker will be observed when the window is redrawn. In-memory images are often used to prevent such flickering: the image is prepared on the TBitmap object in memory, then quickly copied into the window context, for example, using the Draw method of the TBitmap object;

RemoveCanvas - destroys the canvas object, freeing all resources and tools with it (the image itself is not affected, because the canvas is a temporary object attached to the image when it is necessary to draw on the image);

BkColor - background color. Generally, it syncs with the canvas brush color, if available, but can work to fill the background even when the canvas is not being used;

Pixels[X, Y] - slow access to image pixels, requires creating a canvas and allocating a handle for the image;

CopyRect(dstR, srcBmp, srcR) - copies the image or part of it from the specified TBitmap object using the canvas;

Invert - inverts the image;

 

KOL / MCK User Guide - Created by Carl Peeraer - Diamant Soft, based on the work of Vladimir Kladov - Artwerp.be

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC