MCPcopy Create free account
hub / github.com/dhale/jtk / createGraphics

Method createGraphics

core/src/main/java/edu/mines/jtk/mosaic/IPanel.java:232–258  ·  view source on GitHub ↗

Creates a graphics context for the specified graphics rectangle. First computes a scale factor from the dimensions of this panel and those of the specified graphics rectangle. Then (1) sets the clip rectangle using the specified graphics rectangle, (2) translates the coordinate system by the specifi

(
    Graphics2D g2d, int x, int y, int w, int h)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

paintToRectMethod · 0.95
paintToImageMethod · 0.80
paintToRectMethod · 0.80
paintToRectMethod · 0.80
paintToRectMethod · 0.80
paintToRectMethod · 0.80
resizeCursorImageMethod · 0.80
paintToRectMethod · 0.80
paintToRectMethod · 0.80

Calls 6

computeScaleMethod · 0.95
createMethod · 0.80
intersectionMethod · 0.80
translateMethod · 0.80
getFontMethod · 0.80
setFontMethod · 0.45

Tested by

no test coverage detected