:: com :: sun :: star :: rendering ::
|
unpublished |
struct RenderState |
|
|
|
- Usage Restrictions
- not published
- Description
- This structure contains information passed to each
XCanvas render operation.
This structure contains information considered as the render
state, i.e. the common setup required to render each individual
XCanvas primitive.
- Since
- OOo 2.0
|
Elements' Summary |
AffineTransform |
The affine transform associated with this render
operation. |
Clip |
The clipping area associated with this render operation. |
DeviceColor |
The device color associated with this render operation. |
CompositeOperation |
The composition mode associated with this render
operation. |
Elements' Details |
AffineTransform
::com::sun::star::geometry::AffineMatrix2D AffineTransform;
- Description
- The affine transform associated with this render
operation.
This is used to transform coordinates of canvas primitives
from user space to view space (from which they are
subsequently transformed to device space by the view
transform).
|
|
Clip
XPolyPolygon2D Clip;
- Description
- The clipping area associated with this render operation.
This clipping is interpreted in the user coordinate system,
i.e. subject to the render state transform followed by the
view transform before mapped to device coordinate space.
Specifying an empty interface denotes no clipping,
i.e. everything rendered to the canvas will be visible
(subject to device-dependent constraints, of
course). Specifying an empty XPolyPolygon2D, i.e. a
poly-polygon containing zero polygons, or an XPolyPolygon2D
with any number of empty sub-polygons, denotes the NULL
clip. That means, nothing rendered to the canvas will be
visible.
|
|
DeviceColor
sequence< ColorComponent > DeviceColor;
- Description
- The device color associated with this render operation.
Note that this need not be RGB here, but depends on the active
device color space.
- See also
- XGraphicDevice, XColorSpace
|
|
CompositeOperation
byte CompositeOperation;
- Description
- The composition mode associated with this render
operation.
The composite mode determines in which way the primitive and
possibly existing background is combined. The permissible
values must be one out of the CompositeOperation
constants.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.