23 for (
unsigned i = 0; i <
n; ++i)
24 CGContextFillRect(ctx, CGRectMake(
xy[i].fX,
xy[i].fY, 1.f, 1.f));
32 const Double_t im = 4 * markerSize + 0.5;
34 for (
UInt_t i = 0; i <
n; ++i) {
38 CGContextBeginPath(ctx);
39 CGContextMoveToPoint(ctx, -im +
x,
y);
40 CGContextAddLineToPoint(ctx, im +
x,
y);
41 CGContextStrokePath(ctx);
43 CGContextBeginPath(ctx);
44 CGContextMoveToPoint(ctx,
x, -im +
y);
45 CGContextAddLineToPoint(ctx,
x, im +
y);
46 CGContextStrokePath(ctx);
58 star[0].
fX = -im; star[0].
fY = 0;
59 star[1].
fX = im; star[1].
fY = 0;
60 star[2].
fX = 0 ; star[2].
fY = -im;
61 star[3].
fX = 0 ; star[3].
fY = im;
63 im = 0.707 * im + 0.5;
64 star[4].
fX = -im; star[4].
fY = -im;
65 star[5].
fX = im; star[5].
fY = im;
66 star[6].
fX = -im; star[6].
fY = im;
67 star[7].
fX = im; star[7].
fY = -im;
69 for (
UInt_t i = 0; i <
n; ++i) {
73 CGContextBeginPath(ctx);
74 CGContextMoveToPoint(ctx, star[0].fX +
x, star[0].fY +
y);
75 CGContextAddLineToPoint(ctx, star[1].fX +
x, star[1].fY +
y);
76 CGContextStrokePath(ctx);
78 CGContextBeginPath(ctx);
79 CGContextMoveToPoint(ctx, star[2].fX +
x, star[2].fY +
y);
80 CGContextAddLineToPoint(ctx, star[3].fX +
x, star[3].fY +
y);
81 CGContextStrokePath(ctx);
83 CGContextBeginPath(ctx);
84 CGContextMoveToPoint(ctx, star[4].fX +
x, star[4].fY +
y);
85 CGContextAddLineToPoint(ctx, star[5].fX +
x, star[5].fY +
y);
86 CGContextStrokePath(ctx);
88 CGContextBeginPath(ctx);
89 CGContextMoveToPoint(ctx, star[6].fX +
x, star[6].fY +
y);
90 CGContextAddLineToPoint(ctx, star[7].fX +
x, star[7].fY +
y);
91 CGContextStrokePath(ctx);
106 for (
unsigned i = 0; i <
n; ++i) {
110 const CGRect rect = CGRectMake(
x -
r,
y -
r,
d,
d);
111 CGContextStrokeEllipseInRect(ctx, rect);
120 const Double_t im = 0.707 * (4 * markerSize + 0.5) + 0.5;
121 for (
unsigned i = 0; i <
n; ++i) {
125 CGContextBeginPath(ctx);
126 CGContextMoveToPoint(ctx, -im +
x, -im +
y);
127 CGContextAddLineToPoint(ctx, im +
x, im +
y);
128 CGContextStrokePath(ctx);
130 CGContextBeginPath(ctx);
131 CGContextMoveToPoint(ctx, -im +
x, im +
y);
132 CGContextAddLineToPoint(ctx, im +
x, -im +
y);
133 CGContextStrokePath(ctx);
141 for (
unsigned i = 0; i <
n; ++i) {
145 CGContextBeginPath(ctx);
146 CGContextMoveToPoint(ctx, -1. +
x,
y);
147 CGContextAddLineToPoint(ctx,
x + 1.,
y);
148 CGContextStrokePath(ctx);
150 CGContextBeginPath(ctx);
151 CGContextMoveToPoint(ctx,
x, -1. +
y);
152 CGContextAddLineToPoint(ctx,
x, 1. +
y);
153 CGContextStrokePath(ctx);
161 for (
unsigned i = 0; i <
n; ++i)
162 CGContextFillRect(ctx, CGRectMake(
xy[i].fX - 1,
xy[i].fY - 1, 3.f, 3.f));
170 Double_t radius = 4 * markerSize + 0.5;
176 for (
unsigned i = 0; i <
n; ++i) {
180 const CGRect rect = CGRectMake(
x - radius,
y - radius,
d,
d);
181 CGContextFillEllipseInRect(ctx, rect);
190 const Double_t im = 4 * markerSize + 0.5;
191 for (
unsigned i = 0; i <
n; ++i) {
192 const CGRect rect = CGRectMake(
xy[i].fX - im,
xy[i].fY - im, im * 2, im * 2);
193 CGContextFillRect(ctx, rect);
202 const Double_t im = 4 * markerSize + 0.5;
203 for (
unsigned i = 0; i <
n; ++i) {
204 const CGRect rect = CGRectMake(
xy[i].fX - im,
xy[i].fY - im, im * 2, im * 2);
205 CGContextStrokeRect(ctx, rect);
214 const Double_t im = 4 * markerSize + 0.5;
215 for (
unsigned i = 0; i <
n; ++i) {
218 CGContextBeginPath(ctx);
219 CGContextMoveToPoint(ctx,
x - im,
y - im);
220 CGContextAddLineToPoint(ctx,
x + im,
y - im);
221 CGContextAddLineToPoint(ctx,
x, im +
y);
222 CGContextFillPath(ctx);
231 const Double_t im = 4 * markerSize + 0.5;
232 for (
unsigned i = 0; i <
n; ++i) {
235 CGContextBeginPath(ctx);
236 CGContextMoveToPoint(ctx,
x - im,
y - im);
237 CGContextAddLineToPoint(ctx,
x + im,
y - im);
238 CGContextAddLineToPoint(ctx,
x, im +
y);
239 CGContextAddLineToPoint(ctx,
x - im,
y - im);
240 CGContextStrokePath(ctx);
250 for (
unsigned i = 0; i <
n; ++i) {
254 CGContextBeginPath(ctx);
255 CGContextMoveToPoint(ctx,
x - im,
y + im);
256 CGContextAddLineToPoint(ctx,
x,
y - im);
257 CGContextAddLineToPoint(ctx, im +
x,
y + im);
258 CGContextAddLineToPoint(ctx,
x - im,
y + im);
259 CGContextStrokePath(ctx);
269 for (
unsigned i = 0; i <
n; ++i) {
273 CGContextBeginPath(ctx);
274 CGContextMoveToPoint(ctx,
x - im,
y + im);
275 CGContextAddLineToPoint(ctx,
x,
y - im);
276 CGContextAddLineToPoint(ctx, im +
x,
y + im);
277 CGContextFillPath(ctx);
287 const Int_t imx =
Int_t(2.66 * markerSize + 0.5);
289 for (
unsigned i = 0; i <
n; ++i) {
293 CGContextBeginPath(ctx);
294 CGContextMoveToPoint(ctx,
x - imx,
y);
295 CGContextAddLineToPoint(ctx,
x,
y - im);
296 CGContextAddLineToPoint(ctx,
x + imx,
y);
297 CGContextAddLineToPoint(ctx,
x,
y + im);
298 CGContextDrawPath(ctx, kCGPathFillStroke);
308 const Int_t imx =
Int_t(2.66 * markerSize + 0.5);
310 for (
unsigned i = 0; i <
n; ++i) {
314 CGContextBeginPath(ctx);
315 CGContextMoveToPoint(ctx,
x - imx,
y);
316 CGContextAddLineToPoint(ctx,
x,
y - im);
317 CGContextAddLineToPoint(ctx,
x + imx,
y);
318 CGContextAddLineToPoint(ctx,
x,
y + im);
319 CGContextAddLineToPoint(ctx,
x - imx,
y);
320 CGContextStrokePath(ctx);
330 const Int_t imx =
Int_t(1.33 * markerSize + 0.5);
332 for (
unsigned i = 0; i <
n; ++i) {
336 CGContextBeginPath(ctx);
337 CGContextMoveToPoint(ctx,
x - im,
y - imx);
338 CGContextAddLineToPoint(ctx,
x - imx,
y - imx);
339 CGContextAddLineToPoint(ctx,
x - imx,
y - im);
340 CGContextAddLineToPoint(ctx,
x + imx,
y - im);
341 CGContextAddLineToPoint(ctx,
x + imx,
y - imx);
342 CGContextAddLineToPoint(ctx,
x + im,
y - imx);
343 CGContextAddLineToPoint(ctx,
x + im,
y + imx);
344 CGContextAddLineToPoint(ctx,
x + imx,
y + imx);
345 CGContextAddLineToPoint(ctx,
x + imx,
y + im);
346 CGContextAddLineToPoint(ctx,
x - imx,
y + im);
347 CGContextAddLineToPoint(ctx,
x - imx,
y + imx);
348 CGContextAddLineToPoint(ctx,
x - im,
y + imx);
349 CGContextAddLineToPoint(ctx,
x - im,
y - imx);
350 CGContextFillPath(ctx);
360 const Int_t imx =
Int_t(1.33 * markerSize + 0.5);
362 for (
unsigned i = 0; i <
n; ++i) {
366 CGContextBeginPath(ctx);
367 CGContextMoveToPoint(ctx,
x - im,
y - imx);
368 CGContextAddLineToPoint(ctx,
x - imx,
y - imx);
369 CGContextAddLineToPoint(ctx,
x - imx,
y - im);
370 CGContextAddLineToPoint(ctx,
x + imx,
y - im);
371 CGContextAddLineToPoint(ctx,
x + imx,
y - imx);
372 CGContextAddLineToPoint(ctx,
x + im,
y - imx);
373 CGContextAddLineToPoint(ctx,
x + im,
y + imx);
374 CGContextAddLineToPoint(ctx,
x + imx,
y + imx);
375 CGContextAddLineToPoint(ctx,
x + imx,
y + im);
376 CGContextAddLineToPoint(ctx,
x - imx,
y + im);
377 CGContextAddLineToPoint(ctx,
x - imx,
y + imx);
378 CGContextAddLineToPoint(ctx,
x - im,
y + imx);
379 CGContextAddLineToPoint(ctx,
x - im,
y - imx);
380 CGContextStrokePath(ctx);
391 const Int_t im1 =
Int_t(0.66 * markerSize + 0.5);
392 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
393 const Int_t im3 =
Int_t(2.66 * markerSize + 0.5);
394 const Int_t im4 =
Int_t(1.33 * markerSize + 0.5);
396 for (
unsigned i = 0; i <
n; ++i) {
400 CGContextBeginPath(ctx);
401 CGContextMoveToPoint(ctx,
x - im,
y - im4);
402 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
403 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
404 CGContextFillPath(ctx);
406 CGContextBeginPath(ctx);
407 CGContextMoveToPoint(ctx,
x - im2,
y + im1);
408 CGContextAddLineToPoint(ctx,
x - im3,
y + im);
409 CGContextAddLineToPoint(ctx,
x,
y + im2);
410 CGContextFillPath(ctx);
412 CGContextBeginPath(ctx);
413 CGContextMoveToPoint(ctx,
x,
y + im2);
414 CGContextAddLineToPoint(ctx,
x + im3,
y + im);
415 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
416 CGContextFillPath(ctx);
418 CGContextBeginPath(ctx);
419 CGContextMoveToPoint(ctx,
x + im2,
y + im1);
420 CGContextAddLineToPoint(ctx,
x + im,
y - im4);
421 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
422 CGContextFillPath(ctx);
424 CGContextBeginPath(ctx);
425 CGContextMoveToPoint(ctx,
x + im4,
y - im4);
426 CGContextAddLineToPoint(ctx,
x,
y - im);
427 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
428 CGContextFillPath(ctx);
430 CGContextBeginPath(ctx);
431 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
432 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
433 CGContextAddLineToPoint(ctx,
x,
y + im2);
434 CGContextFillPath(ctx);
436 CGContextBeginPath(ctx);
437 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
438 CGContextAddLineToPoint(ctx,
x,
y + im2);
439 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
440 CGContextFillPath(ctx);
442 CGContextBeginPath(ctx);
443 CGContextMoveToPoint(ctx,
x - im4,
y - im4);
444 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
445 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
446 CGContextFillPath(ctx);
456 const Int_t im1 =
Int_t(0.66 * markerSize + 0.5);
457 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
458 const Int_t im3 =
Int_t(2.66 * markerSize + 0.5);
459 const Int_t im4 =
Int_t(1.33 * markerSize + 0.5);
461 for (
unsigned i = 0; i <
n; ++i) {
465 CGContextBeginPath(ctx);
466 CGContextMoveToPoint(ctx,
x - im,
y - im4);
467 CGContextAddLineToPoint(ctx,
x - im2,
y + im1);
468 CGContextAddLineToPoint(ctx,
x - im3,
y + im);
469 CGContextAddLineToPoint(ctx,
x,
y + im2);
470 CGContextAddLineToPoint(ctx,
x + im3,
y + im);
471 CGContextAddLineToPoint(ctx,
x + im2,
y + im1);
472 CGContextAddLineToPoint(ctx,
x + im,
y - im4);
473 CGContextAddLineToPoint(ctx,
x + im4,
y - im4);
474 CGContextAddLineToPoint(ctx,
x,
y - im);
475 CGContextAddLineToPoint(ctx,
x - im4,
y - im4);
476 CGContextAddLineToPoint(ctx,
x - im,
y - im4);
477 CGContextStrokePath(ctx);
487 for (
unsigned i = 0; i <
n; ++i) {
491 CGContextBeginPath(ctx);
492 CGContextMoveToPoint(ctx,
x - im,
y - im);
493 CGContextAddLineToPoint(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 CGContextStrokePath(ctx);
500 CGContextBeginPath(ctx);
501 CGContextMoveToPoint(ctx,
x - im,
y + im);
502 CGContextAddLineToPoint(ctx,
x + im,
y - im);
503 CGContextStrokePath(ctx);
513 for (
unsigned i = 0; i <
n; ++i) {
517 CGContextBeginPath(ctx);
518 CGContextMoveToPoint(ctx,
x - im,
y );
519 CGContextAddLineToPoint(ctx,
x ,
y - im);
520 CGContextAddLineToPoint(ctx,
x + im,
y );
521 CGContextAddLineToPoint(ctx,
x ,
y + im);
522 CGContextAddLineToPoint(ctx,
x - im,
y );
523 CGContextAddLineToPoint(ctx,
x + im,
y );
524 CGContextStrokePath(ctx);
526 CGContextBeginPath(ctx);
527 CGContextMoveToPoint(ctx,
x ,
y + im);
528 CGContextAddLineToPoint(ctx,
x ,
y - im);
529 CGContextStrokePath(ctx);
538 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
540 for (
unsigned i = 0; i <
n; ++i) {
544 CGContextBeginPath(ctx);
545 CGContextMoveToPoint(ctx,
x ,
y );
546 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
547 CGContextAddLineToPoint(ctx,
x - im,
y );
548 CGContextAddLineToPoint(ctx,
x ,
y );
549 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
550 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
551 CGContextAddLineToPoint(ctx,
x ,
y );
552 CGContextAddLineToPoint(ctx,
x + im,
y );
553 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
554 CGContextAddLineToPoint(ctx,
x ,
y );
555 CGContextStrokePath(ctx);
564 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
566 for (
unsigned i = 0; i <
n; ++i) {
570 CGContextBeginPath(ctx);
571 CGContextMoveToPoint(ctx,
x - im,
y );
572 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
573 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
574 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
575 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
576 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
577 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
578 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
579 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
580 CGContextAddLineToPoint(ctx,
x - im,
y );
581 CGContextAddLineToPoint(ctx,
x + im,
y );
582 CGContextStrokePath(ctx);
584 CGContextBeginPath(ctx);
585 CGContextMoveToPoint(ctx,
x ,
y - im);
586 CGContextAddLineToPoint(ctx,
x ,
y + im);
587 CGContextStrokePath(ctx);
596 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
598 for (
unsigned i = 0; i <
n; ++i) {
602 CGContextBeginPath(ctx);
603 CGContextMoveToPoint(ctx,
x ,
y );
604 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
605 CGContextAddLineToPoint(ctx,
x - im,
y );
606 CGContextAddLineToPoint(ctx,
x ,
y );
607 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
608 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
609 CGContextAddLineToPoint(ctx,
x ,
y );
610 CGContextAddLineToPoint(ctx,
x + im,
y );
611 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
612 CGContextAddLineToPoint(ctx,
x ,
y );
613 CGContextFillPath(ctx);
622 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
624 for (
unsigned i = 0; i <
n; ++i) {
628 CGContextBeginPath(ctx);
629 CGContextMoveToPoint(ctx,
x ,
y );
630 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
631 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
632 CGContextAddLineToPoint(ctx,
x ,
y );
633 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
634 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
635 CGContextAddLineToPoint(ctx,
x ,
y );
636 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
637 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
638 CGContextAddLineToPoint(ctx,
x ,
y );
639 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
640 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
641 CGContextAddLineToPoint(ctx,
x ,
y );
642 CGContextStrokePath(ctx);
651 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
653 for (
unsigned i = 0; i <
n; ++i) {
657 CGContextBeginPath(ctx);
658 CGContextMoveToPoint(ctx,
x ,
y );
659 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
660 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
661 CGContextAddLineToPoint(ctx,
x ,
y );
662 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
663 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
664 CGContextAddLineToPoint(ctx,
x ,
y );
665 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
666 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
667 CGContextAddLineToPoint(ctx,
x ,
y );
668 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
669 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
670 CGContextAddLineToPoint(ctx,
x ,
y );
671 CGContextFillPath(ctx);
682 for (
unsigned i = 0; i <
n; ++i) {
686 CGContextBeginPath(ctx);
687 CGContextMoveToPoint(ctx,
x ,
y + im);
688 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
689 CGContextAddLineToPoint(ctx,
x - im,
y );
690 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
691 CGContextAddLineToPoint(ctx,
x ,
y - im);
692 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
693 CGContextAddLineToPoint(ctx,
x + im,
y );
694 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
695 CGContextAddLineToPoint(ctx,
x ,
y + im);
696 CGContextStrokePath(ctx);
707 for (
unsigned i = 0; i <
n; ++i) {
711 CGContextBeginPath(ctx);
712 CGContextMoveToPoint(ctx,
x ,
y + im);
713 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
714 CGContextAddLineToPoint(ctx,
x - im,
y );
715 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
716 CGContextAddLineToPoint(ctx,
x ,
y - im);
717 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
718 CGContextAddLineToPoint(ctx,
x + im,
y );
719 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
720 CGContextAddLineToPoint(ctx,
x ,
y + im);
721 CGContextFillPath(ctx);
730 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
732 for (
unsigned i = 0; i <
n; ++i) {
736 CGContextBeginPath(ctx);
737 CGContextMoveToPoint(ctx,
x ,
y );
738 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
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 ,
y );
743 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
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 ,
y );
748 CGContextStrokePath(ctx);
757 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
758 const Int_t im4 =
Int_t(0.2 * markerSize + 0.5);
760 for (
unsigned i = 0; i <
n; ++i) {
764 CGContextBeginPath(ctx);
765 CGContextMoveToPoint(ctx,
x +im4,
y +im4);
766 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
767 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
768 CGContextAddLineToPoint(ctx,
x -im4,
y +im4);
769 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
770 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
771 CGContextAddLineToPoint(ctx,
x -im4,
y -im4);
772 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
773 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
774 CGContextAddLineToPoint(ctx,
x +im4,
y -im4);
775 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
776 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
777 CGContextAddLineToPoint(ctx,
x +im4,
y +im4);
778 CGContextFillPath(ctx);
787 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
789 for (
unsigned i = 0; i <
n; ++i) {
793 CGContextBeginPath(ctx);
794 CGContextMoveToPoint(ctx,
x ,
y + im2);
795 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
796 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
797 CGContextAddLineToPoint(ctx,
x -im2,
y );
798 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
799 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
800 CGContextAddLineToPoint(ctx,
x ,
y -im2);
801 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
802 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
803 CGContextAddLineToPoint(ctx,
x +im2,
y );
804 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
805 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
806 CGContextAddLineToPoint(ctx,
x ,
y +im2);
807 CGContextStrokePath(ctx);
816 const Int_t im2 =
Int_t(2.0 * markerSize + 0.5);
818 for (
unsigned i = 0; i <
n; ++i) {
822 CGContextBeginPath(ctx);
823 CGContextMoveToPoint(ctx,
x ,
y + im2);
824 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
825 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
826 CGContextAddLineToPoint(ctx,
x -im2,
y );
827 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
828 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
829 CGContextAddLineToPoint(ctx,
x ,
y -im2);
830 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
831 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
832 CGContextAddLineToPoint(ctx,
x +im2,
y );
833 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
834 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
835 CGContextAddLineToPoint(ctx,
x ,
y +im2);
836 CGContextFillPath(ctx);
845 const Int_t im2 =
Int_t(2.00 * markerSize + 0.5);
847 for (
unsigned i = 0; i <
n; ++i) {
851 CGContextBeginPath(ctx);
852 CGContextMoveToPoint(ctx,
x ,
y + im2*1.01);
853 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
854 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
855 CGContextAddLineToPoint(ctx,
x -im2,
y );
856 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
857 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
858 CGContextAddLineToPoint(ctx,
x ,
y -im2);
859 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
860 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
861 CGContextAddLineToPoint(ctx,
x +im2,
y );
862 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
863 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
864 CGContextAddLineToPoint(ctx,
x ,
y +im2*0.99);
865 CGContextAddLineToPoint(ctx,
x +im2*0.99,
y );
866 CGContextAddLineToPoint(ctx,
x ,
y -im2*0.99);
867 CGContextAddLineToPoint(ctx,
x -im2*0.99,
y );
868 CGContextAddLineToPoint(ctx,
x ,
y +im2*0.99);
869 CGContextFillPath(ctx);
878 const Int_t im2 =
Int_t(1.33 * markerSize + 0.5);
880 for (
unsigned i = 0; i <
n; ++i) {
884 CGContextBeginPath(ctx);
885 CGContextMoveToPoint(ctx,
x -im2,
y - im2*1.005);
886 CGContextAddLineToPoint(ctx,
x -im2,
y - im);
887 CGContextAddLineToPoint(ctx,
x +im2,
y - im);
888 CGContextAddLineToPoint(ctx,
x +im2,
y -im2);
889 CGContextAddLineToPoint(ctx,
x + im,
y -im2);
890 CGContextAddLineToPoint(ctx,
x + im,
y +im2);
891 CGContextAddLineToPoint(ctx,
x +im2,
y +im2);
892 CGContextAddLineToPoint(ctx,
x +im2,
y + im);
893 CGContextAddLineToPoint(ctx,
x -im2,
y + im);
894 CGContextAddLineToPoint(ctx,
x -im2,
y +im2);
895 CGContextAddLineToPoint(ctx,
x - im,
y +im2);
896 CGContextAddLineToPoint(ctx,
x - im,
y -im2);
897 CGContextAddLineToPoint(ctx,
x -im2,
y -im2*0.995);
898 CGContextAddLineToPoint(ctx,
x -im2,
y +im2);
899 CGContextAddLineToPoint(ctx,
x +im2,
y +im2);
900 CGContextAddLineToPoint(ctx,
x +im2,
y -im2);
901 CGContextAddLineToPoint(ctx,
x -im2,
y -im2*1.005);
902 CGContextFillPath(ctx);
910 switch (markerStyle) {
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 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 DrawPolyMarker(CGContextRef ctx, const std::vector< TPoint > &marker, Size_t markerSize, Style_t markerStyle)
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 DrawMarkerDot(CGContextRef ctx, unsigned n, const TPoint *xy)
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)
Namespace for new ROOT classes and functions.