Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1024315 // overlayRecognitionGridOnImageSurface

JavaX fragment (include) [tags: use-pretranspiled]

Uses 108K of libraries. Click here for Pure Java version (9137L/66K).

svoid overlayRecognitionGridOnImageSurface(final ImageSurface is, final RecognitionGrid grid) {
  if (is == null) ret;
  is.overlay = voidfunc(Graphics2D g) {
    drawRecognitionGrid(g, grid);
  };
  is.repaint();
}

Author comment

Began life as a copy of #1018875

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024315
Snippet name: overlayRecognitionGridOnImageSurface
Eternal ID of this version: #1024315/1
Text MD5: b3fa68d3cd0e6dc0c0acafdf76216eac
Transpilation MD5: acaedc6e8c70ceed1fdd3510e5cddece
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-01 23:56:56
Source code size: 221 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 114 / 177
Referenced in: [show references]