Acknowledged
CIQQA-3112

Profiler: Dc.draw* methods not registering

Not sure if this is a bug or intentional, but with SDK 8.1.1 in the simulator profiler, I can only see Dc.getHeight and Dc.getWidth. Calls to the drawing functions like Dc.drawText, dc.drawBitmap, dc.drawCircle or dc.drawArc are not registered. Screenshots will follow in comments.

Parents
  • Interestingly, if I put the Dc.draw* in a wrapper function, that wrapper function also does not show up in the profiler. Here an example

    function drawPrepared() as Void {
        _dc.drawText( _x as Number, 
                      _y as Number, 
                      _garminFont as GarminFont, 
                      _text, 
                      _justify as TextJustification );
    }

    although called multiple times, drawPrepared does not show in the profiler.

Comment
  • Interestingly, if I put the Dc.draw* in a wrapper function, that wrapper function also does not show up in the profiler. Here an example

    function drawPrepared() as Void {
        _dc.drawText( _x as Number, 
                      _y as Number, 
                      _garminFont as GarminFont, 
                      _text, 
                      _justify as TextJustification );
    }

    although called multiple times, drawPrepared does not show in the profiler.

Children
No Data