Changes to Existing Graphic Shape Functions
MakeBitmap Accepts a Depth Option
The third parameter to the *MakeBitmap
function is an options frame. This frame may now include adepth
slot containing an integer. This integer represents the bit depth of the bitmap; allowable values are 1, 2, and 4.MakeShape Makes Bitmap Shapes With Masks
In previous version of the Newton OS, bitmap objects could contain masks, but not bitmap graphic shapes. You can now create a bitmap graphic shape with a mask with the *MakeShape
function.An additional slot,
mask
, is added to the bitmap shape if *MakeShape
is passed a pix family which contains a mask. This mask is used when the bitmap shape is drawn with thetransferMode
set tomodeMask
.GetStrokePointsArray Filters More Points and Swaps Coordinates
The *GetStrokePointsArray
function has been modified in two ways. It can now filter more points by requiring a minimum distance between adjacent points. You can now also specify whether points' coordinates are returned in (y,x) order or (x,y) order.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help