Package curve.area
package curve.area
-
ClassDescriptionA layer comprises two two dimensional arrays of 16 bit ints, each hoding the id of a colour object, allowing for a panel of 30 cm by 30 cm, each containing 3072 by 3072 pixels spaced 0.1 mm apart This board provides data to the canvas of paintComponent in DotsCanvas
" So each layer will take around 18 Megabytes ( 2 * 3K * 3K)
On the user screen, y+ is up, so y is mirrored from the dots array
dots 0, 0 maps to top left cornerof user screen?????
The user screen shadows the layers with a scaling factor
so x = horPixels/2, y = verPixels/2 will start to show in the middle May need an index from id to line Only one board so make most of it staticTo provide colour for displayThe Grid class provides methods for setting grid size and turning on and offSee curve.area.Board for comments on the dot backing array.
Layer holds the descriptive collections of points and lines.
x+ is up, so x is mirrored from the dots array
dots 0, 0 maps to top left cornerof user screen
The user screen shadows the layers with a scaling factor
so x = horPixels/2, y = 0 will start to show in the middle lhs
The y axis is shared by both
May need an index from id to linean area to hold stitches // could also be line of zigzag stitches // defined by a set of lines or points ??????? // lines would be unique, points would be shared by lines // areas would be separated by jump stitcheslook for neighbours on the boardTranslate coordinates
b - board - as in board matrix
f - func - indicated on cursor position dis-play - 0, 0 at centre of screen to start wth - value in objects
s - screen - windows coordinates - tlh 0,0, brh screen width, screen height
offset - screen pixels to screen mid point px posx0, posy0
scale - multiple functional over screen