Stephen Torri wrote:
I have placed the code for generating a fretboard image in the
NotePixmapFactory (see makeFretboardPixmap function). Looking at the
class I saw that I could grab a reference to the QPainter object and
pass that along to the Fingering object to draw the contents of the
chord. Well the result image returned back after calling
makeCanvasPixmap is blank.
Common errors are : not calling begin() or end() on the QPainter (or not
constructing it properly), or simply drawing outside of the pixmap's
boundary.
At present the code exists in the guitar_chord_editor branch and will
print out the resulting image to a file "Fretboard.png" (used for
testing purposes). I would appreciate someone looking at the code and
see where I am going wrong.
Which class exactly ?
--
Guillaume
http://telegraph-road.org
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel