24 for (
unsigned i = 0; i <
n; ++i)
25 CGContextFillRect(ctx, CGRectMake(
xy[i].fX,
xy[i].fY, markerSize, markerSize));
33 const Double_t im = 4 * markerSize + 0.5;
35 for (
UInt_t i = 0; i <
n; ++i) {
39 CGContextBeginPath(ctx);
40 CGContextMoveToPoint(ctx, -im +
x,
y);
41 CGContextAddLineToPoint(ctx, im +
x,
y);
42 CGContextStrokePath(ctx);
44 CGContextBeginPath(ctx);
45 CGContextMoveToPoint(ctx,
x, -im +
y);
46 CGContextAddLineToPoint(ctx,
x, im +
y);
47 CGContextStrokePath(ctx);
59 star[0].
fX = -im; star[0].
fY = 0;
60 star[1].
fX = im; star[1].
fY = 0;
61 star[2].
fX = 0 ; star[2].
fY = -im;
62 star[3].
fX = 0 ; star[3].
fY = im;
64 im = 0.707 * im + 0.5;
65 star[4].
fX = -im; star[4].
fY = -im;
66 star[5].
fX = im; star[5].
fY = im;
67 star[6].
fX = -im; star[6].
fY = im;
68 star[7].
fX = im; star[7].
fY = -im;
70 for (
UInt_t i = 0; i <
n; ++i) {
74 CGContextBeginPath(ctx);
75 CGContextMoveToPoint(ctx, star[0].fX +
x, star[0].fY +
y);
76 CGContextAddLineToPoint(ctx, star[1].fX +
x, star[1].fY +
y);
77 CGContextStrokePath(ctx);
79 CGContextBeginPath(ctx);
80 CGContextMoveToPoint(ctx, star[2].fX +
x, star[2].fY +
y);
81 CGContextAddLineToPoint(ctx, star[3].fX +
x, star[3].fY +
y);
82 CGContextStrokePath(ctx);
84 CGContextBeginPath(ctx);
85 CGContextMoveToPoint(ctx, star[4].fX +
x, star[4].fY +
y);
86 CGContextAddLineToPoint(ctx, star[5].fX +
x, star[5].fY +
y);
87 CGContextStrokePath(ctx);
89 CGContextBeginPath(ctx);
90 CGContextMoveToPoint(ctx, star[6].fX +
x, star[6].fY +
y);
91 CGContextAddLineToPoint(ctx, star[7].fX +
x, star[7].fY +
y);
92 CGContextStrokePath(ctx);
107 for (
unsigned i = 0; i <
n; ++i) {
111 const CGRect
rect = CGRectMake(
x -
r,
y -
r,
d,
d);
112 CGContextStrokeEllipseInRect(ctx,
rect);
121 const Double_t im = 0.707 * (4 * markerSize + 0.5) + 0.5;
122 for (
unsigned i = 0; i <
n; ++i) {
126 CGContextBeginPath(ctx);
127 CGContextMoveToPoint(ctx, -im +
x, -im +
y);
128 CGContextAddLineToPoint(ctx, im +
x, im +
y);
129 CGContextStrokePath(ctx);
131 CGContextBeginPath(ctx);
132 CGContextMoveToPoint(ctx, -im +
x, im +
y);
133 CGContextAddLineToPoint(ctx, im +
x, -im +
y);
134 CGContextStrokePath(ctx);
142 for (
unsigned i = 0; i <
n; ++i) {
146 CGContextBeginPath(ctx);
147 CGContextMoveToPoint(ctx, -1. +
x,
y);
148 CGContextAddLineToPoint(ctx,
x + 1.,
y);
149 CGContextStrokePath(ctx);
151 CGContextBeginPath(ctx);
152 CGContextMoveToPoint(ctx,
x, -1. +
y);
153 CGContextAddLineToPoint(ctx,
x, 1. +
y);
154 CGContextStrokePath(ctx);
162 for (
unsigned i = 0; i <
n; ++i)
163 CGContextFillRect(ctx, CGRectMake(
xy[i].fX - 1,
xy[i].fY - 1, 3.f, 3.f));
171 Double_t radius = 4 * markerSize + 0.5;
177 for (
unsigned i = 0; i <
n; ++i) {
181 const CGRect
rect = CGRectMake(
x - radius,
y - radius,
d,
d);
182 CGContextFillEllipseInRect(ctx,
rect);
191 const Double_t im = 4 * markerSize + 0.5;
192 for (
unsigned i = 0; i <
n; ++i) {
193 const CGRect
rect = CGRectMake(
xy[i].fX - im,
xy[i].fY - im, im * 2, im * 2);
194 CGContextFillRect(ctx,
rect);
203 const Double_t im = 4 * markerSize + 0.5;
204 for (
unsigned i = 0; i <
n; ++i) {
205 const CGRect
rect = CGRectMake(
xy[i].fX - im,
xy[i].fY - im, im * 2, im * 2);
206 CGContextStrokeRect(ctx,
rect);
215 const Double_t im = 4 * markerSize + 0.5;
216 for (
unsigned i = 0; i <
n; ++i) {
219 CGContextBeginPath(ctx);
220 CGContextMoveToPoint(ctx,
x - im,
y - im);
221 CGContextAddLineToPoint(ctx,
x + im,
y - im);
222 CGContextAddLineToPoint(ctx,
x, im +
y);
223 CGContextFillPath(ctx);
232 const Double_t im = 4 * markerSize + 0.5;
233 for (
unsigned i = 0; i <
n; ++i) {
236 CGContextBeginPath(ctx);
237 CGContextMoveToPoint(ctx,
x - im,
y - im);
238 CGContextAddLineToPoint(ctx,
x + im,
y - im);
239 CGContextAddLineToPoint(ctx,
x, im +
y);
240 CGContextAddLineToPoint(ctx,
x - im,
y - im);
241 CGContextStrokePath(ctx);
251 for (
unsigned i = 0; i <
n; ++i) {
255 CGContextBeginPath(ctx);
256 CGContextMoveToPoint(ctx,
x - im,
y + im);
257 CGContextAddLineToPoint(ctx,
x,
y - im);
258 CGContextAddLineToPoint(ctx, im +
x,
y + im);
259 CGContextAddLineToPoint(ctx,
x - im,
y + im);
260 CGContextStrokePath(ctx);
270 for (
unsigned i = 0; i <
n; ++i) {
274 CGContextBeginPath(ctx);
275 CGContextMoveToPoint(ctx,
x - im,
y + im);
276 CGContextAddLineToPoint(ctx,
x,
y - im);
277 CGContextAddLineToPoint(ctx, im +
x,
y + im);
278 CGContextFillPath(ctx);
288 const Int_t imx =
Int_t(2.66 * markerSize + 0.5);
290 for (
unsigned i = 0; i <
n; ++i) {
294 CGContextBeginPath(ctx);
295 CGContextMoveToPoint(ctx,
x - imx,
y);
296 CGContextAddLineToPoint(ctx,
x,
y - im);
297 CGContextAddLineToPoint(ctx,
x + imx,
y);
298 CGContextAddLineToPoint(ctx,
x,
y + im);
299 CGContextDrawPath(ctx, kCGPathFillStroke);
309 const Int_t imx =
Int_t(2.66 * markerSize + 0.5);
311 for (
unsigned i = 0; i <
n; ++i) {
315 CGContextBeginPath(ctx);
316 CGContextMoveToPoint(ctx,
x - imx,
y);
317 CGContextAddLineToPoint(ctx,
x,
y - im);
318 CGContextAddLineToPoint(ctx,
x + imx,
y);
319 CGContextAddLineToPoint(ctx,
x,
y + im);
320 CGContextAddLineToPoint(ctx,
x - imx,
y);
321 CGContextStrokePath(ctx);
331 const Int_t imx =
Int_t(1.33 * markerSize + 0.5);
333 for (
unsigned i = 0; i <
n; ++i) {
337 CGContextBeginPath(ctx);
338 CGContextMoveToPoint(ctx,
x - im,
y - imx);
339 CGContextAddLineToPoint(ctx,
x - imx,
y - imx);
340 CGContextAddLineToPoint(ctx,
x - imx,
y - im);
341 CGContextAddLineToPoint(ctx,
x + imx,
y - im);
342 CGContextAddLineToPoint(ctx,
x + imx,
y - imx);
343 CGContextAddLineToPoint(ctx,
x + im,
y - imx);
344 CGContextAddLineToPoint(ctx,
x + im,
y + imx);
345 CGContextAddLineToPoint(ctx,
x + imx,
y + imx);
346 CGContextAddLineToPoint(ctx,
x + imx,
y + im);
347 CGContextAddLineToPoint(ctx,
x - imx,
y + im);
348 CGContextAddLineToPoint(ctx,
x - imx,
y + imx);
349 CGContextAddLineToPoint(ctx,
x - im,
y + imx);
350 CGContextAddLineToPoint(ctx,
x - im,
y - imx);
351 CGContextFillPath(ctx);
361 const Int_t imx =
Int_t(1.33 * markerSize + 0.5);
363 for (
unsigned i = 0; i <
n; ++i) {
367 CGContextBeginPath(ctx);
368 CGContextMoveToPoint(ctx,
x - im,
y - imx);
369 CGContextAddLineToPoint(ctx,
x - imx,
y - imx);
370 CGContextAddLineToPoint(ctx,
x - imx,
y - im);
371 CGContextAddLineToPoint(ctx,
x + imx,
y - im);
372 CGContextAddLineToPoint(ctx,
x + imx,
y - imx);
373 CGContextAddLineToPoint(ctx,
x + im,
y - imx);
374 CGContextAddLineToPoint(ctx,
x + im,
y + imx);
375 CGContextAddLineToPoint(ctx,
x + imx,
y + imx);
376 CGContextAddLineToPoint(ctx,
x + imx,
y + im);
377 CGContextAddLineToPoint(ctx,
x - imx,
y + im);
378 CGContextAddLineToPoint(ctx,
x - imx,
y + imx);
379 CGContextAddLineToPoint(ctx,
x - im,
y + imx);
380 CGContextAddLineToPoint(ctx,
x - im,
y - imx);
381 CGContextStrokePath(ctx);
392 const Int_t im1 =
Int_t(0.66 * markerSize + 0.5);
393 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
394 const Int_t im3 =
Int_t(2.66 * markerSize + 0.5);
395 const Int_t im4 =
Int_t(1.33 * markerSize + 0.5);
397 for (
unsigned i = 0; i <
n; ++i) {
401 CGContextBeginPath(ctx);
402 CGContextMoveToPoint(ctx,
x - im,
y - im4);
403 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
404 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
405 CGContextFillPath(ctx);
407 CGContextBeginPath(ctx);
408 CGContextMoveToPoint(ctx,
x - im2,
y + im1);
409 CGContextAddLineToPoint(ctx,
x - im3,
y + im);
410 CGContextAddLineToPoint(ctx,
x,
y + im2);
411 CGContextFillPath(ctx);
413 CGContextBeginPath(ctx);
414 CGContextMoveToPoint(ctx,
x,
y + im2);
415 CGContextAddLineToPoint(ctx,
x + im3,
y + im);
416 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
417 CGContextFillPath(ctx);
419 CGContextBeginPath(ctx);
420 CGContextMoveToPoint(ctx,
x + im2,
y + im1);
421 CGContextAddLineToPoint(ctx,
x + im,
y - im4);
422 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
423 CGContextFillPath(ctx);
425 CGContextBeginPath(ctx);
426 CGContextMoveToPoint(ctx,
x + im4,
y - im4);
427 CGContextAddLineToPoint(ctx,
x,
y - im);
428 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
429 CGContextFillPath(ctx);
431 CGContextBeginPath(ctx);
432 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
433 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
434 CGContextAddLineToPoint(ctx,
x,
y + im2);
435 CGContextFillPath(ctx);
437 CGContextBeginPath(ctx);
438 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
439 CGContextAddLineToPoint(ctx,
x,
y + im2);
440 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
441 CGContextFillPath(ctx);
443 CGContextBeginPath(ctx);
444 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
445 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
446 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
447 CGContextFillPath(ctx);
457 const Int_t im1 =
Int_t(0.66 * markerSize + 0.5);
458 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
459 const Int_t im3 =
Int_t(2.66 * markerSize + 0.5);
460 const Int_t im4 =
Int_t(1.33 * markerSize + 0.5);
462 for (
unsigned i = 0; i <
n; ++i) {
466 CGContextBeginPath(ctx);
467 CGContextMoveToPoint(ctx,
x - im,
y - im4);
468 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
469 CGContextAddLineToPoint(ctx,
x - im3,
y + im);
470 CGContextAddLineToPoint(ctx,
x,
y + im2);
471 CGContextAddLineToPoint(ctx,
x + im3,
y + im);
472 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
473 CGContextAddLineToPoint(ctx,
x + im,
y - im4);
474 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
475 CGContextAddLineToPoint(ctx,
x,
y - im);
476 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
477 CGContextAddLineToPoint(ctx,
x - im,
y - im4);
478 CGContextStrokePath(ctx);
488 for (
unsigned i = 0; i <
n; ++i) {
492 CGContextBeginPath(ctx);
493 CGContextMoveToPoint(ctx,
x - im,
y - im);
494 CGContextAddLineToPoint(ctx,
x + im,
y - im);
495 CGContextAddLineToPoint(ctx,
x + im,
y + im);
496 CGContextAddLineToPoint(ctx,
x - im,
y + im);
497 CGContextAddLineToPoint(ctx,
x - im,
y - im);
498 CGContextAddLineToPoint(ctx,
x + im,
y + im);
499 CGContextStrokePath(ctx);
501 CGContextBeginPath(ctx);
502 CGContextMoveToPoint(ctx,
x - im,
y + im);
503 CGContextAddLineToPoint(ctx,
x + im,
y - im);
504 CGContextStrokePath(ctx);
514 for (
unsigned i = 0; i <
n; ++i) {
518 CGContextBeginPath(ctx);
519 CGContextMoveToPoint(ctx,
x - im,
y );
520 CGContextAddLineToPoint(ctx,
x ,
y - im);
521 CGContextAddLineToPoint(ctx,
x + im,
y );
522 CGContextAddLineToPoint(ctx,
x ,
y + im);
523 CGContextAddLineToPoint(ctx,
x - im,
y );
524 CGContextAddLineToPoint(ctx,
x + im,
y );
525 CGContextStrokePath(ctx);
527 CGContextBeginPath(ctx);
528 CGContextMoveToPoint(ctx,
x ,
y + im);
529 CGContextAddLineToPoint(ctx,
x ,
y - im);
530 CGContextStrokePath(ctx);
539 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
541 for (
unsigned i = 0; i <
n; ++i) {
545 CGContextBeginPath(ctx);
546 CGContextMoveToPoint(ctx,
x ,
y );
547 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
548 CGContextAddLineToPoint(ctx,
x - im,
y );
549 CGContextAddLineToPoint(ctx,
x ,
y );
550 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
551 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
552 CGContextAddLineToPoint(ctx,
x ,
y );
553 CGContextAddLineToPoint(ctx,
x + im,
y );
554 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
555 CGContextAddLineToPoint(ctx,
x ,
y );
556 CGContextStrokePath(ctx);
565 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
567 for (
unsigned i = 0; i <
n; ++i) {
571 CGContextBeginPath(ctx);
572 CGContextMoveToPoint(ctx,
x - im,
y );
573 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
574 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
575 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
576 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
577 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
578 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
579 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
580 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
581 CGContextAddLineToPoint(ctx,
x - im,
y );
582 CGContextAddLineToPoint(ctx,
x + im,
y );
583 CGContextStrokePath(ctx);
585 CGContextBeginPath(ctx);
586 CGContextMoveToPoint(ctx,
x ,
y - im);
587 CGContextAddLineToPoint(ctx,
x ,
y + im);
588 CGContextStrokePath(ctx);
597 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
599 for (
unsigned i = 0; i <
n; ++i) {
603 CGContextBeginPath(ctx);
604 CGContextMoveToPoint(ctx,
x ,
y );
605 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
606 CGContextAddLineToPoint(ctx,
x - im,
y );
607 CGContextAddLineToPoint(ctx,
x ,
y );
608 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
609 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
610 CGContextAddLineToPoint(ctx,
x ,
y );
611 CGContextAddLineToPoint(ctx,
x + im,
y );
612 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
613 CGContextAddLineToPoint(ctx,
x ,
y );
614 CGContextFillPath(ctx);
623 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
625 for (
unsigned i = 0; i <
n; ++i) {
629 CGContextBeginPath(ctx);
630 CGContextMoveToPoint(ctx,
x ,
y );
631 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
632 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
633 CGContextAddLineToPoint(ctx,
x ,
y );
634 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
635 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
636 CGContextAddLineToPoint(ctx,
x ,
y );
637 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
638 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
639 CGContextAddLineToPoint(ctx,
x ,
y );
640 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
641 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
642 CGContextAddLineToPoint(ctx,
x ,
y );
643 CGContextStrokePath(ctx);
652 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
654 for (
unsigned i = 0; i <
n; ++i) {
658 CGContextBeginPath(ctx);
659 CGContextMoveToPoint(ctx,
x ,
y );
660 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
661 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
662 CGContextAddLineToPoint(ctx,
x ,
y );
663 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
664 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
665 CGContextAddLineToPoint(ctx,
x ,
y );
666 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
667 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
668 CGContextAddLineToPoint(ctx,
x ,
y );
669 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
670 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
671 CGContextAddLineToPoint(ctx,
x ,
y );
672 CGContextFillPath(ctx);
683 for (
unsigned i = 0; i <
n; ++i) {
687 CGContextBeginPath(ctx);
688 CGContextMoveToPoint(ctx,
x ,
y + im);
689 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
690 CGContextAddLineToPoint(ctx,
x - im,
y );
691 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
692 CGContextAddLineToPoint(ctx,
x ,
y - im);
693 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
694 CGContextAddLineToPoint(ctx,
x + im,
y );
695 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
696 CGContextAddLineToPoint(ctx,
x ,
y + im);
697 CGContextStrokePath(ctx);
708 for (
unsigned i = 0; i <
n; ++i) {
712 CGContextBeginPath(ctx);
713 CGContextMoveToPoint(ctx,
x ,
y + im);
714 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
715 CGContextAddLineToPoint(ctx,
x - im,
y );
716 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
717 CGContextAddLineToPoint(ctx,
x ,
y - im);
718 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
719 CGContextAddLineToPoint(ctx,
x + im,
y );
720 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
721 CGContextAddLineToPoint(ctx,
x ,
y + im);
722 CGContextFillPath(ctx);
731 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
733 for (
unsigned i = 0; i <
n; ++i) {
737 CGContextBeginPath(ctx);
738 CGContextMoveToPoint(ctx,
x ,
y );
739 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
740 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
741 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
742 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
743 CGContextAddLineToPoint(ctx,
x ,
y );
744 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
745 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
746 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
747 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
748 CGContextAddLineToPoint(ctx,
x ,
y );
749 CGContextStrokePath(ctx);
758 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
759 const Int_t im4 =
Int_t(0.2 * markerSize + 0.5);
761 for (
unsigned i = 0; i <
n; ++i) {
765 CGContextBeginPath(ctx);
766 CGContextMoveToPoint(ctx,
x +im4,
y +im4);
767 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
768 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
769 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
770 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
771 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
772 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
773 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
774 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
775 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
776 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
777 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
778 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
779 CGContextFillPath(ctx);
788 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
790 for (
unsigned i = 0; i <
n; ++i) {
794 CGContextBeginPath(ctx);
795 CGContextMoveToPoint(ctx,
x ,
y + im2);
796 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
797 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
798 CGContextAddLineToPoint(ctx,
x -im2,
y );
799 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
800 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
801 CGContextAddLineToPoint(ctx,
x ,
y -im2);
802 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
803 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
804 CGContextAddLineToPoint(ctx,
x +im2,
y );
805 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
806 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
807 CGContextAddLineToPoint(ctx,
x ,
y +im2);
808 CGContextStrokePath(ctx);
817 const Int_t im2 =
Int_t(2.0 * markerSize + 0.5);
819 for (
unsigned i = 0; i <
n; ++i) {
823 CGContextBeginPath(ctx);
824 CGContextMoveToPoint(ctx,
x ,
y + im2);
825 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
826 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
827 CGContextAddLineToPoint(ctx,
x -im2,
y );
828 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
829 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
830 CGContextAddLineToPoint(ctx,
x ,
y -im2);
831 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
832 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
833 CGContextAddLineToPoint(ctx,
x +im2,
y );
834 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
835 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
836 CGContextAddLineToPoint(ctx,
x ,
y +im2);
837 CGContextFillPath(ctx);
846 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
848 for (
unsigned i = 0; i <
n; ++i) {
852 CGContextBeginPath(ctx);
853 CGContextMoveToPoint(ctx,
x ,
y + im2*1.01);
854 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
855 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
856 CGContextAddLineToPoint(ctx,
x -im2,
y );
857 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
858 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
859 CGContextAddLineToPoint(ctx,
x ,
y -im2);
860 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
861 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
862 CGContextAddLineToPoint(ctx,
x +im2,
y );
863 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
864 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
865 CGContextAddLineToPoint(ctx,
x ,
y +im2*0.99);
866 CGContextAddLineToPoint(ctx,
x +im2*0.99,
y );
867 CGContextAddLineToPoint(ctx,
x ,
y -im2*0.99);
868 CGContextAddLineToPoint(ctx,
x -im2*0.99,
y );
869 CGContextAddLineToPoint(ctx,
x ,
y +im2*0.99);
870 CGContextFillPath(ctx);
879 const Int_t im2 =
Int_t(1.33 * markerSize + 0.5);
881 for (
unsigned i = 0; i <
n; ++i) {
885 CGContextBeginPath(ctx);
886 CGContextMoveToPoint(ctx,
x -im2,
y - im2*1.005);
887 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
888 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
889 CGContextAddLineToPoint(ctx,
x +im2,
y -im2);
890 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
891 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
892 CGContextAddLineToPoint(ctx,
x +im2,
y +im2);
893 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
894 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
895 CGContextAddLineToPoint(ctx,
x -im2,
y +im2);
896 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
897 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
898 CGContextAddLineToPoint(ctx,
x -im2,
y -im2*0.995);
899 CGContextAddLineToPoint(ctx,
x -im2,
y +im2);
900 CGContextAddLineToPoint(ctx,
x +im2,
y +im2);
901 CGContextAddLineToPoint(ctx,
x +im2,
y -im2);
902 CGContextAddLineToPoint(ctx,
x -im2,
y -im2*1.005);
903 CGContextFillPath(ctx);
911 switch (markerStyle) {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
Option_t Option_t TPoint xy
Option_t Option_t TPoint DrawPolyMarker
void DrawMarkerOpenSquare(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerStar(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullTriangleDown(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerPlus(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullDotLarge(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenDiamond(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullFourTrianglesPlus(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenSquareDiagonal(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOctagonCross(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullDotSmall(CGContextRef ctx, unsigned n, const TPoint *xy)
void DrawMarkerFullTriangleUp(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullCrossX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenCrossX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerDot(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenDiamondCross(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenThreeTriangles(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenTriangleUp(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFourSquaresPlus(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullStar(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenFourTrianglesPlus(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFourSquaresX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenCross(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullSquare(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenStar(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullDoubleDiamond(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullDiamond(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullThreeTriangles(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenDoubleDiamond(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullFourTrianglesX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenCircle(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullCross(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenTriangleDown(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerOpenFourTrianglesX(CGContextRef ctx, unsigned n, const TPoint *xy, Size_t markerSize)
void DrawMarkerFullDotMedium(CGContextRef ctx, unsigned n, const TPoint *xy)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.