mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
enlarged Access Grid picture size by 20%
This commit is contained in:
1 parent
0a343357dd
commit
24fd128dde
3 files changed
+10
-10
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
imagestub = "AccessPicture_p.png?width=1024&height=576&colorback=FFFFFF&colortext=AAAAAA&colorgrid=333333&colordot=33CC33&colorline=555555&ct=5000&coronaangle=";
|
||||
imagestub = "AccessPicture_p.png?width=1280&height=720&colorback=FFFFFF&colortext=AAAAAA&colorgrid=333333&colordot=33CC33&colorline=555555&ct=5000&coronaangle=";
|
||||
imageanimindex = 0;
|
||||
imageloadindex = 0;
|
||||
imagecycles = 0;
|
||||
@@ -53,7 +53,7 @@
|
||||
<p>This images shows incoming connections to your YaCy peer and outgoing connections from your peer to other peers and web servers</p>
|
||||
<div class="left">
|
||||
<p>
|
||||
<a href="AccessPicture_p.png?width=1024&height=576&colorback=FFFFFF&colortext=AAAAAA&colorgrid=333333&colordot=33CC33&colorline=555555"><img id="AccessPicture" src="AccessPicture_p.png?width=1024&height=576&bgcolor=FFFFFF&coronaangle=0" alt="YaCy Access Grid" width="1024" height="576" /></a>
|
||||
<a href="AccessPicture_p.png?width=1280&height=720&colorback=FFFFFF&colortext=AAAAAA&colorgrid=333333&colordot=33CC33&colorline=555555"><img id="AccessPicture" src="AccessPicture_p.png?width=1280&height=720&bgcolor=FFFFFF&coronaangle=0" alt="YaCy Access Grid" width="1280" height="720" /></a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -55,13 +55,13 @@ public class AccessPicture_p {
|
||||
|
||||
int width = 1024;
|
||||
int height = 576;
|
||||
int cellsize = 18;
|
||||
int cellsize = 24;
|
||||
boolean corona = false;
|
||||
int coronaangle = 0;
|
||||
|
||||
if (post != null) {
|
||||
width = post.getInt("width", 1024);
|
||||
height = post.getInt("height", 576);
|
||||
width = post.getInt("width", 1280);
|
||||
height = post.getInt("height", 720);
|
||||
cellsize = post.getInt("cellsize", cellsize);
|
||||
color_text = post.get("colortext", color_text);
|
||||
color_back = post.get("colorback", color_back);
|
||||
@@ -194,8 +194,8 @@ public class AccessPicture_p {
|
||||
|
||||
// print headline
|
||||
picture.setColor(color_text_l);
|
||||
PrintTool.print5(picture, 2, 6, 0, "YACY NODE ACCESS GRID", -1, 100);
|
||||
PrintTool.print5(picture, width - 2, 6, 0, "SNAPSHOT FROM " + new Date().toString().toUpperCase(), 1, 80);
|
||||
PrintTool.print7(picture, 4, 10, 0, "YACY NODE ACCESS GRID", -1, 100);
|
||||
PrintTool.print7(picture, width - 4, 10, 0, "SNAPSHOT FROM " + new Date().toString().toUpperCase(), 1, 80);
|
||||
|
||||
// print legend
|
||||
picture.setColor(color_grid_l);
|
||||
|
||||
@@ -101,12 +101,12 @@ public class HexGridPlotter extends RasterPlotter {
|
||||
}
|
||||
|
||||
public void gridPrint(final int x, final int y, final int radius, final String messageHigh, final String messageLow, final int align, int intensity) {
|
||||
if (messageHigh != null && messageHigh.length() > 0) PrintTool.print5(this, projectionX(x, y) - align * radius, projectionY(y) - (cellwidth2 >> 2) - ((align == 0) ? radius : 0), 0, messageHigh, align, intensity);
|
||||
if (messageLow != null && messageLow.length() > 0) PrintTool.print5(this, projectionX(x, y) - align * radius, projectionY(y) + (cellwidth2 >> 2) + 4 + ((align == 0) ? radius : 0), 0, messageLow, align, intensity);
|
||||
if (messageHigh != null && messageHigh.length() > 0) PrintTool.print7(this, projectionX(x, y) - align * radius, projectionY(y) - (cellwidth2 >> 2) - ((align == 0) ? radius : 0), 0, messageHigh, align, intensity);
|
||||
if (messageLow != null && messageLow.length() > 0) PrintTool.print7(this, projectionX(x, y) - align * radius, projectionY(y) + (cellwidth2 >> 2) + 8 + ((align == 0) ? radius : 0), 0, messageLow, align, intensity);
|
||||
}
|
||||
|
||||
public void gridPrint315(final int x, final int y, final int radius, final String message315, int intensity) {
|
||||
if (message315 != null && message315.length() > 0) PrintTool.print5(this, projectionX(x, y) + (radius >> 1), projectionY(y) + (cellwidth2 >> 2) + 4, 315, message315, -1, intensity);
|
||||
if (message315 != null && message315.length() > 0) PrintTool.print7(this, projectionX(x, y) + (radius >> 1), projectionY(y) + (cellwidth2 >> 2) + 8, 315, message315, -1, intensity);
|
||||
}
|
||||
|
||||
public void gridLine(
|
||||
|
||||
Reference in new issue
Block a user