> I have written a little graphics library for drawing graphics and printing on > e.g. Nokia 3310. > The reason for this is that need for a sort of GUI for the type of display > and I found the 6 row > addressing to restrictive.
We will definitely welcome this library, but it will need some discussion and changes. I hope to have some kind of standard for all GLCD's. Mainly, the LCD should use glcd_common.jal for drawing shapes. I would like to be able to draw circles & triangles on my color glcd as well :) Some things are not common to all glcd's and should stay within it's own library. There is also a recent font library that may be helpful. See 18f4620_glcd_touch_stm032qvt-003.jal and it's libraries. This is the most recent work on glcd's. Try to make your sample compatible with a include block similar the following: var word LCD_BACK_COLOR = 1 var word LCD_PEN_COLOR = 0 include glcd_stm032qvt-003 glcd_init() include glcd_common You can also see a font include block in the file I mentioned. > I have chosen to use a screen cache. The reason for this is my wish to have > OR, AND and XOR plotting. > As a convenience (for me and maybe for others? ) So I assume you have a large array holding each value of the GLCD for the cache? Are you not able to read pixel value from the LCD? > I have added a constant to define the Y origin. I'm not sure what you mean, what is this for? Matt. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
