mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 18:32:35 +08:00
Add ResolutionRatio() method in the Graphic3d_RenderingParams. Add SetResolutionRatio() method in the OpenGl_Context.
22 lines
289 B
Plaintext
22 lines
289 B
Plaintext
puts "============"
|
|
puts "OCC26790 apply view resolution to the line width"
|
|
puts "============"
|
|
puts ""
|
|
pload VISUALIZATION
|
|
|
|
vclear
|
|
vclose all
|
|
|
|
vinit View1
|
|
|
|
box b0 1 2 3
|
|
|
|
vdisplay b0
|
|
vfit
|
|
|
|
vdump $imagedir/${casename}_1.png
|
|
|
|
vrenderparams -resolution 144
|
|
|
|
vdump $imagedir/${casename}_2.png
|