189 |
return Point(x, y) |
return Point(x, y) |
190 |
|
|
191 |
def label_font(self): |
def label_font(self): |
192 |
"""Return the font object for the label layer""" |
"""Return the font object for the label layer. |
193 |
return Font() |
|
194 |
|
As we scale stuff, the fontsize also needs to be scaled.""" |
195 |
|
if verbose>1: |
196 |
|
log("label_font() called.\n") |
197 |
|
return Font(fsize=12*self.factor) |
198 |
|
|
199 |
def tools_for_property(self, prop): |
def tools_for_property(self, prop): |
200 |
"""Return a pen/brush tuple build from a property object.""" |
"""Return a pen/brush tuple build from a property object.""" |