MCPcopy Create free account
hub / github.com/Card-Forge/forge / endClip

Method endClip

forge-gui-mobile/src/forge/Graphics.java:191–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 public void endClip() {
192 if (failedClipCount == 0) {
193 batch.flush(); //must flush batch to ensure stuffed rendered during clip respects that clip
194 ScissorStack.popScissors();
195 } else {
196 failedClipCount--;
197 }
198 }
199
200 public void draw(FDisplayObject displayObj) {
201 if (displayObj.getWidth() <= 0 || displayObj.getHeight() <= 0) {

Callers 15

drawRepeatingImageMethod · 0.95
drawTextMethod · 0.95
createPreviewMethod · 0.95
renderPlaceholderMethod · 0.80
setItemTooltipsMethod · 0.80
drawTextMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80
drawMethod · 0.80

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected