antialiased
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 674 B |
Before Width: | Height: | Size: 299 B After Width: | Height: | Size: 550 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 267 B After Width: | Height: | Size: 768 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 330 B |
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 807 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 366 B |
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 795 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 276 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 854 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 788 B |
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 946 B |
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 842 B |
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 286 B After Width: | Height: | Size: 520 B |
Before Width: | Height: | Size: 297 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 642 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 265 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 269 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 216 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 739 B |
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 261 B After Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 260 B After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 265 B |
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 284 B After Width: | Height: | Size: 878 B |
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 226 B After Width: | Height: | Size: 283 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 334 B |
@ -55,10 +55,10 @@ int main(int argc, char* argv[])
|
|||||||
QImage img(QSize(iconsize,iconsize),QImage::Format_ARGB32_Premultiplied);
|
QImage img(QSize(iconsize,iconsize),QImage::Format_ARGB32_Premultiplied);
|
||||||
img.fill(backgroundColor);
|
img.fill(backgroundColor);
|
||||||
JKQTPEnhancedPainter p;
|
JKQTPEnhancedPainter p;
|
||||||
|
p.begin(&img);
|
||||||
p.setRenderHint(QPainter::Antialiasing);
|
p.setRenderHint(QPainter::Antialiasing);
|
||||||
p.setRenderHint(QPainter::TextAntialiasing);
|
p.setRenderHint(QPainter::TextAntialiasing);
|
||||||
p.setRenderHint(QPainter::SmoothPixmapTransform);
|
p.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||||
p.begin(&img);
|
|
||||||
JKQTPPlotSymbol(p, iconsize/2,iconsize/2,s,iconsize-4,2,QColor("blue"), QColor("salmon").lighter(120),QGuiApplication::font().family());
|
JKQTPPlotSymbol(p, iconsize/2,iconsize/2,s,iconsize-4,2,QColor("blue"), QColor("salmon").lighter(120),QGuiApplication::font().family());
|
||||||
p.end();
|
p.end();
|
||||||
const bool ok=img.save(outputDir.absoluteFilePath(JKQTPGraphSymbols2String(s)+".png"));
|
const bool ok=img.save(outputDir.absoluteFilePath(JKQTPGraphSymbols2String(s)+".png"));
|
||||||
@ -67,10 +67,10 @@ int main(int argc, char* argv[])
|
|||||||
QImage img(QSize(iconsize,iconsize),QImage::Format_ARGB32_Premultiplied);
|
QImage img(QSize(iconsize,iconsize),QImage::Format_ARGB32_Premultiplied);
|
||||||
img.fill(backgroundColor);
|
img.fill(backgroundColor);
|
||||||
JKQTPEnhancedPainter p;
|
JKQTPEnhancedPainter p;
|
||||||
|
p.begin(&img);
|
||||||
p.setRenderHint(QPainter::Antialiasing);
|
p.setRenderHint(QPainter::Antialiasing);
|
||||||
p.setRenderHint(QPainter::TextAntialiasing);
|
p.setRenderHint(QPainter::TextAntialiasing);
|
||||||
p.setRenderHint(QPainter::SmoothPixmapTransform);
|
p.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||||
p.begin(&img);
|
|
||||||
JKQTPPlotSymbol(p, iconsize/2,iconsize/2,JKQTPCharacterSymbol+QChar('@').unicode(),iconsize-4,2,QColor("blue"), QColor("blue").lighter(),QGuiApplication::font().family());
|
JKQTPPlotSymbol(p, iconsize/2,iconsize/2,JKQTPCharacterSymbol+QChar('@').unicode(),iconsize-4,2,QColor("blue"), QColor("blue").lighter(),QGuiApplication::font().family());
|
||||||
p.end();
|
p.end();
|
||||||
img.save(outputDir.absoluteFilePath("symbol_char_at.png"));
|
img.save(outputDir.absoluteFilePath("symbol_char_at.png"));
|
||||||
|