@@ -54,6 +54,7 @@ def points_to_pixels(self, points):
54
54
"""
55
55
return points
56
56
57
+
57
58
def get_text_extent (self , text ):
58
59
"""
59
60
Get the text extent in window coords
@@ -91,6 +92,27 @@ def draw_line(self, gc, x1, y1, x2, y2):
91
92
"""
92
93
pass # derived must override
93
94
95
+ def _draw_marker (self , gc , path , x , y , trans ):
96
+ """
97
+ This method is currently uncderscore hidden because the
98
+ draw_markers method is being used as a sentinel for newstyle
99
+ backend drawing
100
+
101
+ Draw the marker specified in path with graphics context gx at
102
+ each of the locations in arrays x and y. trans is a
103
+ matplotlib.transforms.Transformation instance used to
104
+ transform x and y to display coords. It consists of an
105
+ optional ) nonlinear component and an affine. You can access
106
+ these two components as
107
+
108
+ if transform.need_nonlinear():
109
+ x,y = transform.nonlinear_only_numerix(x, y)
110
+ # the a,b,c,d,tx,ty affine which transforms x and y
111
+ vec6 = transform.as_vec6_val()
112
+ ...backend dependent affine...
113
+ """
114
+ pass
115
+
94
116
def draw_poly_collection (
95
117
self , verts , transform , clipbox , facecolors , edgecolors ,
96
118
linewidths , antialiaseds , offsets , transOffset ):
0 commit comments