ImageEn, unit imageenview |
|
TImageEnView.LayersRotationUseFilterOnPreview
TImageEnView.LayersRotationUseFilterOnPreview
Declaration
property LayersRotationUseFilterOnPreview: Boolean;
Description
Displays the user's rotation with the selected
anti-alias effect immediately (i.e. before calling
LayersFixRotations).
Note: By default, display of the anti-aliasing will occur after a short delay (to improver performance). This can be configured with
LayersFastDrawing.
Default: True
Layer Performance Properties
To improve the performance in layer applications, consider the following properties:
◼LayersCaching: Caches the view of each layer. Much faster but uses more memory.
◼LayersFastDrawing: Display quality of layers (and whether the quality view is delayed).
◼LayerFastDrawingEffects specifies which features are disabled while fast drawing.
◼ZoomFilter/
DelayZoomFilter: Display quality of images (and whether the quality view is delayed). This option is ignored if LayersFastDrawing is active
◼LayersRotationUseFilterOnPreview: Whether the quality filter (
LayersRotationFilter) is previewed without
applying the rotationReview the Demos\LayerEditing\Layers_AllTypes\ demo for example code.
// Always display rotated layers at low quality (for best performance)
ImageEnView1.LayersRotationUseFilterOnPreview := False;
// Rotate the current layer 45 degrees clockwise at highest quality
ImageEnView1.CurrentLayer.Rotate := -45;
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := True;
ImageEnView1.LayersFastDrawing := iefDelayed;
// Allow the user to free rotate layers at highest quality
ImageEnView1.MouseInteractLayers := [mlRotateLayers];
ImageEnView1.LayersRotationFilter := ierBilinear;
ImageEnView1.LayersRotationUseFilterOnPreview := True;
ImageEnView1.LayersFastDrawing := iefDelayed;
See Also
◼LayersRotationFilter◼LayersFastDrawing