Canvas_GetPixel documented, but not recognised
issueid=361 13-10-2012 09:40
Super Moderator
Number of reported issues by Petr Schreiber: 162
Canvas_GetPixel documented, but not recognised
Canvas_GetPixel function is documented, but not present in the module

It seems the Canvas_GetPixel is documented, but not present in the UI module. Using it gives me error #30 - Variable not defined or misspelled Keyword.

Small test example:
Uses "UI"
 
DWord  hWin = Canvas_Window("Canvas Test", 1, 1, 640, 480)
Canvas_Attach(hWin, 0, %TRUE)
  Canvas_Clear(%RED)
Canvas_Redraw

MsgBox 0, canvas_getPixel(1, 1)

Canvas_Window End

Petr
Issue Details
Issue Number 361
Project thinBasic
Category Module UI (User Interface)
Status Fixed
Priority 2
Affected Version 1.8.9
Fixed Version 1.9.1
Milestone thinBasic 1.9.0.0
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




13-10-2012 13:15
thinBasic author
Fixed. Will be present in next release.
I wrongly called keyword Canvas_Pixel instead of Canvas_GetPixel

+ Reply