[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4.5 Export picture
Functions in this group save or give access to produced picture. So, usually they should be called after plotting is done.
- MGL command: setsize
w h
- Method on
mglGraph
:void
SetSize (int
width,int
height) - C function:
void
mgl_set_size (HMGL
gr,int
width,int
height) Sets size of picture in pixels. This function must be called before any other plotting because it completely remove picture contents.
- MGL command: quality
val
- Method on
mglGraph
:void
SetQuality (int
val=MGL_DRAW_NORM
) - C function:
void
mgl_set_quality (HMGL
gr,int
val) Sets quality of the plot depending on value val:
MGL_DRAW_WIRE=0
– no face drawing (fastest),MGL_DRAW_FAST=1
– no color interpolation (fast),MGL_DRAW_NORM=2
– high quality (normal). IfMGL_DRAW_LMEM=0x4
is set then direct bitmap drawing is used (low memory usage).
- Method on
mglGraph
:void
StartGroup (const char *name) - C function:
void
mgl_start_group (HMGL
gr,const char *
name) Starts group definition. Groups contain objects and other groups, they are used to select a part of a model to zoom to or to make invizible or to make semitransparent and so on.
- Method on
mglGraph
:void
EndGroup () - C function:
void
mgl_end_group (HMGL
gr) Ends group definition.
4.5.1 Export to file | ||
4.5.2 Frames/Animation | ||
4.5.3 Bitmap in memory | ||
4.5.4 Parallelization |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 13, 2012 using texi2html 5.0.