Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
85812c7b
Commit
85812c7b
authored
Sep 08, 2016
by
Dan Lipsa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NormalizedDisplay as for displaying the text.
NormalizedViewport creates slightly offset lines.
parent
06701a4d
Pipeline
#26712
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Rendering/FreeType/Testing/Python/multiLineText.py
Rendering/FreeType/Testing/Python/multiLineText.py
+1
-1
No files found.
Rendering/FreeType/Testing/Python/multiLineText.py
View file @
85812c7b
...
...
@@ -245,7 +245,7 @@ Grid.SetPoints(Pts)
Grid
.
SetLines
(
Lines
)
# Set up the coordinate system.
normCoords
=
vtk
.
vtkCoordinate
()
normCoords
.
SetCoordinateSystemToNormalized
Viewport
()
normCoords
.
SetCoordinateSystemToNormalized
Display
()
# Set up the mapper and actor (2D) for the grid.
mapper
=
vtk
.
vtkPolyDataMapper2D
()
mapper
.
SetInputData
(
Grid
)
...
...
Dan Lipsa
@danlipsa
mentioned in commit
54b4469c
·
Sep 21, 2016
mentioned in commit
54b4469c
mentioned in commit 54b4469ca9c6f19bc76568553ce51b50e1bce09e
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment