On Mon, 2005-08-01 at 13:42 +0200, Guillaume Laurent wrote:
> 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.

Well:

begin() is called in createPixmapAndMask (used in makeFretboardPixmap
line 3391)
end() is called in makeCanvasPixmap (used in makeFretboardPixmap line
3398)

I am using the provided function which should be constructing the
QPainter correctly. So my only guess is to look at if I am trying to
draw 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 ?

Start at NotePixmapFactory::makeFretboardPixmap. You should be able to
see if I do not setup the QPainter correctly. Later I will look at
seeing if I am attempting to draw outside the pixmap's boundaries.

Stephen

S

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to