Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
12c9fb54
Commit
12c9fb54
authored
9 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
65a02495
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tutorial/t4.geo
+15
-3
15 additions, 3 deletions
tutorial/t4.geo
with
15 additions
and
3 deletions
tutorial/t4.geo
+
15
−
3
View file @
12c9fb54
...
@@ -87,9 +87,21 @@ View "comments" {
...
@@ -87,9 +87,21 @@ View "comments" {
T3
(
0
,
0.11
,
0
,
TextAttributes
(
"Align"
,
"Center"
,
"Font"
,
"Helvetica"
)){
"Hole"
};
T3
(
0
,
0.11
,
0
,
TextAttributes
(
"Align"
,
"Center"
,
"Font"
,
"Helvetica"
)){
"Hole"
};
// If a string starts with `file://', the rest is interpreted as an image
// If a string starts with `file://', the rest is interpreted as an image
// file, whose size and orientation can be specified after a `@' symbol:
// file. For 3D annotations, the size in model coordinates can be specified
T3
(
-
0.01
,
0.09
,
0
,
0
){
"file://image.png@0.02x0"
};
// after a `@' symbol in the form `widthxheight' (if one of `width' or
T3
(
-
0.01
,
0.09
,
0
,
0
){
"file://image.png@0.02x0,0,0,1,0,1,0"
};
// `height' is zero, natural scaling is used; if both are zero, original image
// dimensions in pixels are used):
T3
(
0
,
0.09
,
0
,
TextAttributes
(
"Align"
,
"Center"
)){
"file://image.png@0.01x0"
};
// The 3D orientation of the image can be specified by proving the direction
// of the bottom and left edge of the image in model space:
T3
(
-
0.01
,
0.09
,
0
,
0
){
"file://image.png@0.01x0,0,0,1,0,1,0"
};
// The image can also be drawn in "billboard" mode, i.e. always parallel to
// the camera, by using the `#' symbol:
T3
(
0
,
0.12
,
0
,
TextAttributes
(
"Align"
,
"Center"
)){
"file://image.png@0.01x0#"
};
// The size of 2D annotations is goven directly in pixels:
T2
(
350
,
-
7
,
0
){
"file://image.png@20x0"
};
T2
(
350
,
-
7
,
0
){
"file://image.png@20x0"
};
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment