|
|
|
@ -3,7 +3,7 @@ package com.fr.plugin.present.fun;
|
|
|
|
|
import com.fr.base.AbstractPainter; |
|
|
|
|
import com.fr.base.Style; |
|
|
|
|
import com.fanruan.api.util.IOKit; |
|
|
|
|
import com.fanruan.api.util.CellKit; |
|
|
|
|
import com.fanruan.api.report.PaintKit; |
|
|
|
|
import com.fr.stable.html.Tag; |
|
|
|
|
import com.fr.stable.web.Repository; |
|
|
|
|
import com.fanruan.api.report.BaseHTMLWriterKit; |
|
|
|
@ -36,7 +36,7 @@ public class StarPainter extends AbstractPainter {
|
|
|
|
|
public void paintTag(Repository repo, int width, int height, Style style, Tag tag) { |
|
|
|
|
tag.cls("imageCellElement"); |
|
|
|
|
tag.sub(BaseHTMLWriterKit.createImageTag4RepoWithCheckVml( |
|
|
|
|
CellKit.value2Image(this, repo.getResolution(), style, width, height), new Dimension(width, height), repo |
|
|
|
|
PaintKit.value2Image(this, repo.getResolution(), style, width, height), new Dimension(width, height), repo |
|
|
|
|
)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|