Status: Accepted
Owner: allain.lalonde
Labels: Type-Enhancement Priority-Medium Effort-Low Toolkit-Piccolo2D.Java  
Component-Core Usability

New issue 93 by allain.lalonde: PCanvas needs accessors for render qualities
http://code.google.com/p/piccolo2d/issues/detail?id=93

PCanvas is missing accessors for its render qualities. Specifically, it  
should be possible to compile and run the following tests, but it
currently isn't.

public void testDefaultRenderQualityIsHighByDefault() { 
   PCanvas canvas = new PCanvas();
   assertEquals(PPaintContext.HIGH_QUALITY_RENDERING,  
canvas.getDefaultRenderQuality());              
}
        
public void testAnimatingRenderQualityIsLowByDefault() {
   PCanvas canvas = new PCanvas();
   assertEquals(PPaintContext.LOW_QUALITY_RENDERING,  
canvas.getAnimatingRenderQuality());
}
        
public void testInteractingRenderQualityIsLowByDefault() {
   PCanvas canvas = new PCanvas();
   assertEquals(PPaintContext.LOW_QUALITY_RENDERING,  
canvas.getInteractingRenderQuality());
}

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to