Commit b13cd163305a894c8fb3cbfaec6b477b177caf0e
1 parent
319e0fe1
Exists in
master
and in
25 other branches
Better comments to draws method
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/viewer_slice.py
@@ -350,7 +350,7 @@ class CanvasRendererCTX: | @@ -350,7 +350,7 @@ class CanvasRendererCTX: | ||
350 | 350 | ||
351 | Params: | 351 | Params: |
352 | text: an unicode text. | 352 | text: an unicode text. |
353 | - pos: (x, y) position. | 353 | + pos: (x, y) top left position. |
354 | font: if None it'll use the default gui font. | 354 | font: if None it'll use the default gui font. |
355 | txt_colour: RGB text colour | 355 | txt_colour: RGB text colour |
356 | """ | 356 | """ |
@@ -373,7 +373,7 @@ class CanvasRendererCTX: | @@ -373,7 +373,7 @@ class CanvasRendererCTX: | ||
373 | 373 | ||
374 | Params: | 374 | Params: |
375 | text: an unicode text. | 375 | text: an unicode text. |
376 | - pos: (x, y) position. | 376 | + pos: (x, y) top left position. |
377 | font: if None it'll use the default gui font. | 377 | font: if None it'll use the default gui font. |
378 | txt_colour: RGB text colour | 378 | txt_colour: RGB text colour |
379 | bg_colour: RGBA box colour | 379 | bg_colour: RGBA box colour |