MCPcopy Create free account
hub / github.com/demoth/jake2 / Draw_GetPicSize

Method Draw_GetPicSize

client/src/main/java/jake2/client/render/fast/Draw.java:117–122  ·  view source on GitHub ↗
(Dimension dim, String pic)

Source from the content-addressed store, hash-verified

115 =============
116 */
117 public void Draw_GetPicSize(Dimension dim, String pic) {
118
119 image_t image = Draw_FindPic(pic);
120 dim.width = (image != null) ? image.width : -1;
121 dim.height = (image != null) ? image.height : -1;
122 }
123
124 /*
125 =============

Callers

nothing calls this directly

Calls 1

Draw_FindPicMethod · 0.95

Tested by

no test coverage detected