Defaults are White background, Do AutoScrollBars, and no grid
See Also: canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
See Also: blank_canvas, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
See Also: blank_canvas, canvas_list, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
C_ID - the ID of the canvas: all routines use this ID
C_GFX - the id of the graphex used to DISPLAY the canvas
C_OFS_X
C_OFS_Y are the coordinates in the Parent window of the canvas display
C_WINDOW is the win32lib ID of the parent window of the canvas
C_BGCOLOR C_BGCOLOUR is the colour that the canvas will be cleared to before rendering
C_OSB is the hidden graphex used for the full time offscreen buffer
C_HSCROL_ID is the id of any horizontal scroll bar associated with the canvas
C_VSCROL_ID is the id of any vertical scroll bar
C_AUTOSCROL is on by default and controls creating scroll bars if the OSB is bigger than the GFX
C_DIRTY is used to force repainting under "certain cirumstances" (OK I don't remember right now)
C_GRID_DATA is the data for the grid, see Grid
C_PROPERTY is a free form property for the _canvas_ see setGfxCanvasProperty
C_RECTS is currently reserved
C_OBJECTS is the list of all the objects in the canvas
See Also: blank_canvas, canvas_list, CI, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
Used for testing gfxCanvasObjectAt
See Also: blank_canvas, canvas_list, CI, C_*, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
updates the canvas offset for each type of scroll bar new value
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
help the scroll bar event handler determine which type of scroll bar it is with a userProperty
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
Hard to justify making global as the presence of both scroll bars is not guaranteed.
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
It is used for working on the gfxCanvasObjectAt routine
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasUpdateOSB, last_id, scroll_but_r_id
This is the place to optimise the speed, needs to only draw what the gfx can show given the objects present and the X and Y offset of the view port
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, last_id, scroll_but_r_id
Therefore all objects have a unique ID (until the integer overflows?)
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, scroll_but_r_id
See Also: blank_canvas, canvas_list, CI, C_*, debug_draw_bbox, ev_onScroll, GC_HSCROLL, gfxCanvasAddScrollButton, gfxCanvasDebugShowBBOX, gfxCanvasRemoveScrollButton, gfxCanvasUpdateOSB, last_id