119#define edlobj2IDOMBrush(src) edl_cast((IDOMBrush *)NULL, src)
148#define edlobj2IDOMTransformableBrush(src) edl_cast((IDOMTransformableBrush *)NULL, src)
169#define IDOMGradientStopClassID 0x5c788994, 0xc0bb4387, 0x96ff4086, 0x874b16db
214 virtual void setColor(
const IDOMColorPtr &color) = 0;
229#define edlobj2IDOMGradientStop(src) edl_cast((IDOMGradientStop *)NULL, src)
241#define IDOMSolidColorBrushClassID 0x9dc4c01e, 0x8fe545f7, 0xa51b15c6, 0xed751103
337 double component1,
double component2 = 0.0,
double component3 = 0.0,
double component4 = 0.0,
double component5 = 0.0,
338 double component6 = 0.0,
double component7 = 0.0,
double component8 = 0.0,
double component9 = 0.0,
double component10 = 0.0,
339 double component11 = 0.0,
double component12 = 0.0,
double component13 = 0.0,
double component14 = 0.0,
double component15 = 0.0,
340 double component16 = 0.0,
double component17 = 0.0,
double component18 = 0.0,
double component19 = 0.0,
double component20 = 0.0,
341 double component21 = 0.0,
double component22 = 0.0,
double component23 = 0.0,
double component24 = 0.0,
double component25 = 0.0,
342 double component26 = 0.0,
double component27 = 0.0,
double component28 = 0.0,
double component29 = 0.0,
double component30 = 0.0,
343 double component31 = 0.0,
double component32 = 0.0
360 %apply
float[] {
const float *components };
363 %apply
float INPUT[] {
const float *components };
378 %clear
const float *components;
414 virtual void setColor(
const IDOMColorPtr &color) = 0;
417#define edlobj2IDOMSolidColorBrush(src) edl_cast((IDOMSolidColorBrush *)NULL, src)
529#define edlobj2IDOMGradientBrush(src) edl_cast((IDOMGradientBrush *)NULL, src)
538#define IDOMLinearGradientBrushClassID 0x59493763, 0x87084cf5, 0x8033bfd1, 0x0740e0f2
631 bool ignoreSpreadMethod,
632 bool useFirstStopColorSpace) = 0;
647#define edlobj2IDOMLinearGradientBrush(src) edl_cast((IDOMLinearGradientBrush *)NULL, src)
662#define IDOMRadialGradientBrushClassID 0xfd36410b, 0x387f4656, 0x9c2c276f, 0xcba05c91
682 double radiusX,
double radiusY,
795#define edlobj2IDOMRadialGradientBrush(src) edl_cast((IDOMRadialGradientBrush *)NULL, src)
835#define IDOMImageBrushClassID 0xebe9f8fd, 0xc5c34d21, 0xae76465a, 0x4b4e64a0
855 const IDOMImagePtr &image,
858 float opacity = 1.0f,
861 const JawsMako::IOptionalContentDetailsPtr &optionalContentDetails = JawsMako::IOptionalContentDetailsPtr(),
862 const JawsMako::IPDFDictionaryPtr &propertiesDictionary = JawsMako::IPDFDictionaryPtr());
1093#define edlobj2IDOMImageBrush(src) edl_cast((IDOMImageBrush *)NULL, src)
1107#define IDOMMaskedBrushClassID 0x8EC7F5C6, 0xC56049d1, 0x9E2864EB, 0x0E7A90A6
1127 const IDOMImagePtr &mask,
1128 const IDOMBrushPtr &brush,
1131 float opacity = 1.0f,
1133 const JawsMako::IOptionalContentDetailsPtr &optionalContentDetails =
1134 JawsMako::IOptionalContentDetailsPtr(),
1135 const JawsMako::IPDFDictionaryPtr &propertiesDictionary = JawsMako::IPDFDictionaryPtr());
1218#define edlobj2IDOMMaskedBrush(src) edl_cast((IDOMMaskedBrush *)NULL, src)
1234#define IDOMVisualBrushClassID 0xa811d50a, 0xfebd4be7, 0xa3901ac9, 0x0bd52265
1250 const IDOMNodePtr &visual,
1253 float opacity = 1.0f,
1410#define edlobj2IDOMVisualBrush(src) edl_cast((IDOMVisualBrush *)NULL, src)
1420#define IDOMVisualRootClassID 0x2309ff5c, 0x29c64c63, 0xbf58de4d, 0x7819ee02
1442#define edlobj2IDOMVisualRoot(src) edl_cast((IDOMVisualRoot *)NULL, src)
1456#define IDOMSoftMaskBrushClassID 0x27315fbf, 0x8f3246a9, 0x929eb580, 0x13f7955d
1480 const IDOMTransparencyGroupPtr &group,
1483 const IDOMColorPtr &backdropColor = IDOMColorPtr(),
1484 const IDOMFunctionPtr &transfer = IDOMFunctionPtr());
1540#define edlobj2IDOMSoftMaskBrush(src) edl_cast((IDOMSoftMaskBrush *)NULL, src)
1550#define IDOMTilingPatternBrushClassID 0xE987B191, 0x552840e1, 0xAFA8EC97, 0x2C6EE3DC
1570 const IDOMNodePtr &visual,
const FRect &bBox,
1571 uint8 paintType,
const IDOMColorPtr &color,
1572 float xStep,
float yStep,
1573 uint8 tilingType = 1,
1641 %apply
float &OUTPUT {
float &xstep };
1642 %apply
float &OUTPUT {
float &ystep };
1651 %clear
float &xstep;
1652 %clear
float &ystep;
1732 bool overprint =
false) = 0;
1735#define edlobj2IDOMTilingPatternBrush(src) edl_cast((IDOMTilingPatternBrush *)NULL, src)
1836#define edlobj2IDOMShadingPatternBrush(src) edl_cast((IDOMShadingPatternBrush *)NULL, src)
1847#define IDOMShadingPatternType1BrushClassID 0x599BD13A, 0xB5B74368, 0xA728CDF8, 0x621F8CC0
1852 %apply
float[] {
float domain[4] };
1855 %apply
float INPUT[] {
float domain[4] };
1875 const IDOMColorSpacePtr &colorSpace,
1877 const IDOMFunctionPtr &function,
1878 bool hasBBox =
false,
1880 const IDOMColorPtr &background = IDOMColorPtr(),
1883 bool antiAlias =
false,
1884 float opacity = 1.0f);
1886 %clear
float domain[4];
1942 %apply
float[] {
float domain[4] };
1945 %apply
float INPUT[] {
float domain[4] };
1954 %clear
float domain[4];
1975#define edlobj2IDOMShadingPatternType1Brush(src) edl_cast((IDOMShadingPatternType1Brush *)NULL, src)
1985#define IDOMShadingPatternType2BrushClassID 0xDDD7C873, 0x2C0045b6, 0xB67E54BE, 0x04AD6190
1990 %apply
float[] {
float domain[2] };
1993 %apply
float INPUT[] {
float domain[2] };
2016 const FPoint &startPoint,
2018 const IDOMColorSpacePtr &colorSpace,
2020 const IDOMFunctionPtr &function,
2021 bool extendStart =
false,
2022 bool extendEnd =
false,
2023 bool hasBBox =
false,
2025 const IDOMColorPtr &background = IDOMColorPtr(),
2027 bool antiAlias =
false,
2028 float opacity = 1.0f);
2030 %clear
float domain[2];
2091 %apply
float[] {
float domain[2] };
2094 %apply
float INPUT[] {
float domain[2] };
2103 %clear
float domain[2];
2142 virtual void setExtend (
bool extendStart,
bool extendEnd) = 0;
2145 %apply
bool &OUTPUT {
bool &extendStart };
2146 %apply
bool &OUTPUT {
bool &extendEnd };
2154 virtual void getExtend (
bool &extendStart,
bool &extendEnd)
const = 0;
2156 %clear
bool &extendStart;
2157 %clear
bool &extendEnd;
2174#define edlobj2IDOMShadingPatternType2Brush(src) edl_cast((IDOMShadingPatternType2Brush *)NULL, src)
2185#define IDOMShadingPatternType3BrushClassID 0x383008FE, 0xB7D64314, 0x9B715287, 0xA57ACBDA
2190 %apply
float[] {
float domain[2] };
2193 %apply
float INPUT[] {
float domain[2] };
2218 const FPoint &startCircleCenter,
2219 float startCircleRadius,
2220 const FPoint &endCircleCenter,
2221 float endCircleRadius,
2222 const IDOMColorSpacePtr &colorSpace,
2224 const IDOMFunctionPtr &function,
2225 bool extendStart =
false,
2226 bool extendEnd =
false,
2227 bool hasBBox =
false,
2229 const IDOMColorPtr &background = IDOMColorPtr(),
2231 bool antiAlias =
false,
2232 float opacity = 1.0f);
2234 %clear
float domain[2];
2299 %apply
float[] {
float domain[2] };
2302 %apply
float INPUT[] {
float domain[2] };
2311 %clear
float domain[2];
2374 virtual void setExtend (
bool extendStart,
bool extendEnd) = 0;
2377 %apply
bool &OUTPUT {
bool &extendStart };
2378 %apply
bool &OUTPUT {
bool &extendEnd };
2386 virtual void getExtend (
bool &extendStart,
bool &extendEnd)
const = 0;
2388 %clear
bool &extendStart;
2389 %clear
bool &extendEnd;
2407#define edlobj2IDOMShadingPatternType3Brush(src) edl_cast((IDOMShadingPatternType3Brush *)NULL, src)
2418#define IDOMShadingPatternType4567BrushClassID 0x7204F554, 0x95984d30, 0xA090074B, 0xC03337EE
2446 const IDOMColorSpacePtr &colorSpace,
2447 const JawsMako::IPDFStringPtr &dataSource,
2448 const uint8 bitsPerCoordinate = 0,
2449 const uint8 bitsPerComponent = 0,
2450 const uint8 bitsPerFlag = 0,
2451 const int32 verticesPerRow = 0,
2453 const IDOMFunctionPtr &function = IDOMFunctionPtr(),
2454 bool hasBBox =
false,
2456 const IDOMColorPtr &background = IDOMColorPtr(),
2458 bool antiAlias =
false,
2459 float opacity = 1.0f);
2511 const IDOMColorSpacePtr &colorSpace,
2512 const IDOMFunctionPtr &function,
2514 const uint8 bitsPerCoordinate = 16,
2515 const uint8 bitsPerComponent = 8,
2516 const uint8 bitsPerFlag = 8,
2517 const int32 verticesPerRow = 0,
2519 bool hasBBox =
false,
2521 const IDOMColorPtr &background = IDOMColorPtr(),
2523 bool antiAlias =
false,
2524 float opacity = 1.0f);
2677#define edlobj2IDOMShadingPatternType4567Brush(src) edl_cast((IDOMShadingPatternType4567Brush *)NULL, src)
2689#define IDOMNullBrushClassID 0x98F3706B, 0x403E4a41, 0xA975A9B6, 0xD52C99CC
2722#define edlobj2IDOMNullBrush(src) edl_cast((IDOMNullBrush *)NULL, src)
An object to represent a 128-bit globally unique ID.
Definition objclassid.h:29
EDL Object Interface.
Definition iedlobject.h:31
Definition edlvector.h:30
Interface to the brush element.
Definition idombrush.h:54
virtual void setOpacity(float opc)=0
Sets the opacity value of a brush element.
virtual float getOpacity() const =0
Retrieves the opacity value of the brush element.
virtual IDOMBrushPtr getAdjustedForUseInTransformedNode(IEDLClassFactory *pFactory, const FMatrix &nodeTransform)
Get a version of this brush adjusted for use inside a node with the given transform.
virtual eBrushType getBrushType() const =0
Retrieves the type of the brush.
@ eType4567ShadingPattern
Type 4, 5, 6 or 7 shading pattern brush.
Definition idombrush.h:74
@ eImage
Image brush.
Definition idombrush.h:66
@ eVisual
Visual brush.
Definition idombrush.h:68
@ eTilingPattern
Tiling pattern brush.
Definition idombrush.h:70
@ eLinearGradient
Linear gradient brush.
Definition idombrush.h:64
@ eType2ShadingPattern
Type 2 shading pattern brush.
Definition idombrush.h:72
@ eSolidColor
Solid color brush.
Definition idombrush.h:63
@ eMasked
Masked brush.
Definition idombrush.h:67
@ eSoftMask
Softmask brush.
Definition idombrush.h:69
@ eRadialGradient
Radial gradient brush.
Definition idombrush.h:65
@ eType3ShadingPattern
Type 3 shading pattern brush.
Definition idombrush.h:73
@ eNull
Null brush.
Definition idombrush.h:75
@ eType1ShadingPattern
Type 1 shading pattern brush.
Definition idombrush.h:71
static IDOMColorPtr createSolidGray(IEDLClassFactory *pFactory, float gray=0.0f)
Simplified color creation for DeviceGray colors. Default parameters will yield an opaque DeviceGray b...
Definition idomcolor.h:54
static IDOMColorPtr createSolidCmyk(IEDLClassFactory *pFactory, float c=0.0f, float m=0.0f, float y=0.0f, float k=0.0f)
Simplified color creation for DeviceCMYK colors. Default parameters will yield an opaque DeviceCMYK w...
Definition idomcolor.h:83
static IDOMColorPtr createSolidRgb(IEDLClassFactory *pFactory, float r=0.0f, float g=0.0f, float b=0.0f)
Simplified color creation for DeviceRGB colors. Default parameters will yield an opaque DeviceRGB bla...
Definition idomcolor.h:68
A common interface for both IDOMLinearGradient and IDOMRadialGradient. Provides straightforward acces...
Definition idombrush.h:451
virtual void setGradientStops(const CDOMGradientStopVect &stops)=0
Set the vector of stops in this gradient. Must not be empty.
virtual eSpreadMethod getSpreadMethod() const =0
Retrieves the spread method value of the RadialGradientBrush element.
virtual void setColorInterpolationMode(eColorInterpolationMode cim)=0
Sets the color interpolation mode value of the radial gradient brush.
virtual void addGradientStop(const IDOMGradientStopPtr &ptrGradientStop)=0
Append a gradient stop.
virtual const CDOMGradientStopVect & getGradientStops() const =0
Retrieves the vector of stops in this gradient. An exception will be thrown if the gradient has no st...
virtual eColorInterpolationMode getColorInterpolationMode() const =0
Retrieves the color interpolation mode value of the radial gradient brush.
virtual void setSpreadMethod(eSpreadMethod sm)=0
Sets spread method value of the RadialGradientBrush element.
virtual void normalizeStops(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &ptrColorSpace=IDOMColorSpacePtr(), eRenderingIntent intent=eRelativeColorimetric, eBlackPointCompensation bpc=eBPCDefault)=0
Normalize the gradient stops to a single color space, sort them and ensure there are stops at 0....
Initialization data.
Definition idombrush.h:187
double offset
Definition idombrush.h:189
IDOMColorPtr color
Definition idombrush.h:190
IDOMGradientStop defines the ramp of colors to use on a gradient.
Definition idombrush.h:168
virtual void setColor(const IDOMColorPtr &color)=0
Sets the color value of the gradient stop.
static EDL_API IDOMGradientStopPtr create(IEDLClassFactory *pFactory, const IDOMColorPtr &color, double offset)
Simplified gradient stop creation. Throws an IEDLError on failure.
virtual void setOffset(double offset)=0
Sets the offset value of the gradient stop.
virtual IDOMColorPtr getColor() const =0
Retrieves the color value of the gradient stop. Never returns NULL.
static const CClassID & classID()
Retrieves class id of IDOMGradientStop.
Definition idombrush.h:197
virtual double getOffset() const =0
Retrieves the offset value of the gradient stop.
Abstract interface for objects that can be hashed.
Definition idomhashable.h:28
FRect viewBox
Definition idombrush.h:875
eViewUnits viewBoxUnits
Definition idombrush.h:878
FMatrix renderTransform
Definition idombrush.h:882
eTilingMode tileMode
Definition idombrush.h:877
IDOMImagePtr ptrImageSource
Definition idombrush.h:880
JawsMako::IOptionalContentDetailsPtr optionalContentDetails
Definition idombrush.h:883
Data()
Definition idombrush.h:871
CDOMAlternateImageVect alternateImages
Definition idombrush.h:884
JawsMako::IPDFDictionaryPtr propertiesDictionary
Definition idombrush.h:885
eViewUnits viewPortUnits
Definition idombrush.h:879
IDOMICCProfilePtr ptrICCProfile
Definition idombrush.h:881
float opacity
Definition idombrush.h:874
FRect viewPort
Definition idombrush.h:876
Provides an interface to a DOM image brush object.
Definition idombrush.h:834
virtual IDOMICCProfilePtr getICCProfile() const =0
Retrieves the external ICC profile of the brush if present.
virtual IDOMImagePtr getImageSource() const =0
Retrieves a smart pointer to the image resource.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:891
virtual JawsMako::IPDFDictionaryPtr getPdfPropertiesDictionary() const =0
Get the dictionary containing PDF properties attached to the image object. This dictionary will be as...
virtual eViewUnits getViewPortUnits() const =0
Retrieves the viewport units value of the image brush. Currently, only absolute units are supported.
virtual eViewUnits getViewBoxUnits() const =0
Retrieves the viewbox units used by the image brush. Currently, only absolute units are supported.
virtual void setViewBox(const FRect &vb)=0
Sets the viewbox rectangle.
virtual void setPdfPropertiesDictionary(const JawsMako::IPDFDictionaryPtr &propertiesDictionary)=0
Set the dictionary containing PDF properties attached to the image object. Please see getPdfPropertie...
virtual eTilingMode getTileMode() const =0
Retrieves the tiling mode value of the image brush.
static EDL_API IDOMImageBrushPtr create(IEDLClassFactory *pFactory, const IDOMImagePtr &image, const FRect &viewBox, const FRect &viewPort, const FMatrix &renderTransform=FMatrix(), float opacity=1.0f, eTilingMode tileMode=eNoTile, const CDOMAlternateImageVect &alternateImages=CDOMAlternateImageVect(), const JawsMako::IOptionalContentDetailsPtr &optionalContentDetails=JawsMako::IOptionalContentDetailsPtr(), const JawsMako::IPDFDictionaryPtr &propertiesDictionary=JawsMako::IPDFDictionaryPtr())
Simplified creator for an image brush. Throws an IEDLError on failure.
virtual IDOMVisualBrushPtr getEquivalentVisualBrush(IEDLClassFactory *pFactory)=0
For tiled images, returns an equivalent visual brush containing the image without tiling....
virtual JawsMako::IOptionalContentDetailsPtr getOptionalContentDetails() const =0
Returns any optional content information that applies to this brush.
virtual CDOMAlternateImageVect getAlternateImages() const =0
Retrieves any alternate images associated with this brush.
virtual const FRect & getViewBox() const =0
Retrieves the viewbox rectangle.
virtual void setViewPortUnits(eViewUnits vu)=0
Sets the viewport units used for the image brush. Currently, only absolute units are supported.
virtual IDOMTilingPatternBrushPtr getEquivalentTilingBrush(IEDLClassFactory *pFactory)=0
Gets an equivalent IDOMTilingPattern brush. If the receiver has a tile mode of eNoTile,...
virtual const FRect & getViewPort() const =0
Retrieves the viewport rectangle.
virtual void setAlternateImages(const CDOMAlternateImageVect &alternates)=0
Set the alternate images associated with this brush.
virtual void setImageSource(const IDOMImagePtr &ptrImageSource)=0
Sets the image resource for the brush.
virtual void setOptionalContentDetails(const JawsMako::IOptionalContentDetailsPtr &details)=0
Set the optional content details that apply to this brush, or NULL to remove.
virtual void setTileMode(eTilingMode tm)=0
Sets the tiling mode of the image brush.
virtual void setICCProfile(const IDOMICCProfilePtr &icc)=0
Retrieves the external ICC profile of the brush if present.
virtual void setViewPort(const FRect &vp)=0
Sets the viewport rectangle.
virtual void setViewBoxUnits(eViewUnits vu)=0
Sets the viewbox units value of the image brush. Currently, only absolute units are supported.
FPoint endPoint
Definition idombrush.h:572
eColorInterpolationMode colorInterpolationMode
Definition idombrush.h:574
eSpreadMethod spreadMethod
Definition idombrush.h:575
float opacity
Definition idombrush.h:570
FPoint startPoint
Definition idombrush.h:571
FMatrix renderTransform
Definition idombrush.h:576
CDOMGradientStopVect stops
Definition idombrush.h:573
Data()
Definition idombrush.h:568
IDOMLinearGradientBrush interface. A linear gradient brush is used to specify a gradient along a vect...
Definition idombrush.h:537
static EDL_API IDOMLinearGradientBrushPtr create(IEDLClassFactory *pFactory, const FPoint &startPoint, const FPoint &endPoint, const CDOMGradientStopVect &stops, float opacity=1.0f, const FMatrix &renderTransform=FMatrix(), eSpreadMethod spreadMethod=eNoSpread, eColorInterpolationMode colorInterpolationMode=eSRgbLinearInterpolation)
Simplified linear gradient brush creation. Throws an IEDLError on failure.
virtual const FPoint & getStartPoint() const =0
Retrieves the start point of the linear gradient.
virtual const FPoint & getEndPoint() const =0
Retrieves the end point of the linear gradient.
virtual IDOMShadingPatternType2BrushPtr createShading(IEDLClassFactory *pFactory, bool ignoreSpreadMethod, bool useFirstStopColorSpace)=0
Create a Type2 Shading Pattern brush from this linear brush. Repeat and reflect spread methods cannot...
virtual IDOMBrushPtr createPdfBrush(IEDLClassFactory *pFactory, bool useFirstStopColorSpace=false)=0
Create a PDF-compatible brush for this gradient. If the pad mode is reflect, the result will be a sha...
virtual void setStartPoint(const FPoint &pt)=0
Sets the start point of the linear gradient.
virtual void setEndPoint(const FPoint &pt)=0
Sets the end point of the linear gradient.
static const CClassID & classID()
Retrieves class id of IDOMLinearGradientBrush.
Definition idombrush.h:583
CDOMAlternateImageVect alternateImages
Definition idombrush.h:1156
JawsMako::IPDFDictionaryPtr propertiesDictionary
Definition idombrush.h:1157
FMatrix renderTransform
Definition idombrush.h:1154
FRect viewPort
Definition idombrush.h:1149
eViewUnits viewPortUnits
Definition idombrush.h:1151
JawsMako::IOptionalContentDetailsPtr optionalContentDetails
Definition idombrush.h:1155
float opacity
Definition idombrush.h:1147
IDOMBrushPtr brush
Definition idombrush.h:1153
Data()
Definition idombrush.h:1144
IDOMImagePtr imageMask
Definition idombrush.h:1152
FRect viewBox
Definition idombrush.h:1148
eViewUnits viewBoxUnits
Definition idombrush.h:1150
IDOMMaskedBrush interface, this describes a generalization of a masked image. The sub-brush (set by g...
Definition idombrush.h:1106
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:1163
static EDL_API IDOMMaskedBrushPtr create(IEDLClassFactory *pFactory, const IDOMImagePtr &mask, const IDOMBrushPtr &brush, const FRect &viewBox, const FRect &viewPort, const FMatrix &renderTransform=FMatrix(), float opacity=1.0f, const CDOMAlternateImageVect &alternateImages=CDOMAlternateImageVect(), const JawsMako::IOptionalContentDetailsPtr &optionalContentDetails=JawsMako::IOptionalContentDetailsPtr(), const JawsMako::IPDFDictionaryPtr &propertiesDictionary=JawsMako::IPDFDictionaryPtr())
Simplified creator for a masked brush. Throws an IEDLError on failure.
virtual void setBrush(const IDOMBrushPtr &brush)=0
Sets brush.
virtual bool getIsSoftMask(IEDLClassFactory *pFactory)=0
Is the mask a soft mask? That is, is the mask not a single bit image? An outright error will result i...
virtual IDOMBrushPtr getEquivalentXPSBrush(IEDLClassFactory *pFactory, const FRect &enclosedBounds)=0
Gets an equivalent image or visual brush that can be used to express this masked brush in XPS compati...
virtual IDOMImageBrushPtr getSimpleImageBrush(IEDLClassFactory *pFactory)=0
Attempts to create a single IDOMImageBrush that represents the masked result. This can be achieved if...
virtual IDOMBrushPtr getBrush() const =0
Retrieves smart pointer to the brush to be painted through the image.
Abstract class providing the interface to basic DOM node functionality. IDOMNode is the base class fo...
Definition idomnode.h:139
Data()
Definition idombrush.h:2707
float opacity
Definition idombrush.h:2709
IDOMNullBrush provides a way of representing the default marking brush in a Type3 postscript glyph de...
Definition idombrush.h:2688
static EDL_API IDOMNullBrushPtr create(IEDLClassFactory *pFactory)
Simplified creator for a Null brush. Throws an IEDLError on failure.
static const CClassID & classID()
Retrieves class id of IDOMNullBrush.
Definition idombrush.h:2716
eColorInterpolationMode colorInterpolationMode
Definition idombrush.h:699
Data()
Definition idombrush.h:695
FPoint gradientOrigin
Definition idombrush.h:702
FMatrix renderTransform
Definition idombrush.h:706
double radiusX
Definition idombrush.h:703
CDOMGradientStopVect stops
Definition idombrush.h:705
FPoint center
Definition idombrush.h:701
eSpreadMethod spreadMethod
Definition idombrush.h:700
float opacity
Definition idombrush.h:698
double radiusY
Definition idombrush.h:704
IDOMRadialGradientBrush interface. A radial gradient brush defines an ellipse to be filled with the g...
Definition idombrush.h:661
virtual void setCenter(const FPoint &pt)=0
Sets the center point of the gradient brush ellipse.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:712
virtual const FPoint & getCenter() const =0
Retrieves the center point of the gradient brush ellipse.
virtual void setGradientOrigin(const FPoint &pt)=0
Sets the origin point of the radial gradient, corresponding to the gradient stop with an offset of 0....
virtual void setRadiusY(double r)=0
Sets the y-radius of the gradient brush ellipse.
virtual const FPoint & getGradientOrigin() const =0
Retrieves the origin point of the radial gradient, corresponding to the gradient stop with an offset ...
static EDL_API IDOMRadialGradientBrushPtr create(IEDLClassFactory *pFactory, const FPoint ¢er, const FPoint &gradientOrigin, double radiusX, double radiusY, const CDOMGradientStopVect &stops, float opacity=1.0f, const FMatrix &renderTransform=FMatrix(), eSpreadMethod spreadMethod=eNoSpread, eColorInterpolationMode colorInterpolationMode=eSRgbLinearInterpolation)
Simplified radial gradient brush creation. Throws an IEDLError on failure.
virtual IDOMRadialGradientBrushPtr getSimplifiedGradient(IEDLClassFactory *pFactory, const FRect &fillArea)=0
Create a simplified radial gradient brush, where any repeat or reflect pad mode is converted to simpl...
virtual void setRadiusX(double r)=0
Sets the x-radius of the gradient brush ellipse.
virtual double getRadiusX() const =0
Retrieves the x-radius of the gradient brush ellipse.
virtual double getRadiusY() const =0
Retrieves the y-radius of the gradient brush ellipse.
virtual IDOMShadingPatternType3BrushPtr createShading(IEDLClassFactory *pFactory, const FRect &fillArea, bool useFirstStopColorSpace=false)=0
Create a Type3 Shading Pattern brush from this radial brush. All alpha information in the gradient st...
IDOMShadingBrush provides a way of representing a PS style shading pattern.
Definition idombrush.h:1744
virtual void setAntiAlias(bool antiAlias)=0
Sets anti aliasing flag.
virtual uint8 getShadingType() const =0
Retrieves the shading type.
virtual void setColorSpace(const IDOMColorSpacePtr &colorSpace)=0
Sets the colorspace to use for painting the shade.
virtual void deIndex(IEDLClassFactory *pFactory)=0
If the shading brush uses an Indexed color space, reduce it to its base color space.
virtual bool getBBox(FBox &bBox) const =0
Retrieves the bounding box for the shade.
virtual void setBBox(const FBox &bBox)=0
Sets the bounding box for the shade.
virtual void setFunction(const IDOMFunctionPtr &function)=0
Sets the shade function.
virtual IDOMColorPtr getBackgroundColor() const =0
Gets the background color to use before painting the shade. If the return is NULL then the background...
virtual IDOMFunctionPtr getFunction() const =0
Gets the shade function object.
virtual bool getAntiAlias() const =0
Gets anti aliasing flag.
virtual void setColorSpace(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &colorSpace, eRenderingIntent intent, eBlackPointCompensation bpc)=0
Set the colorspace of the shading brush, performing color conversion to that target space....
virtual void setBackgroundColor(const IDOMColorPtr &color)=0
Sets the background color to use before painting the shade.
virtual IDOMColorSpacePtr getColorSpace() const =0
Gets the colorspace object to be used when painting the shading.
float domain[4]
Definition idombrush.h:1925
int shadingType
Definition idombrush.h:1915
FBox bBox
Definition idombrush.h:1916
float opacity
Definition idombrush.h:1914
IDOMColorPtr background
Definition idombrush.h:1920
Data()
Definition idombrush.h:1896
FMatrix renderTransform
Definition idombrush.h:1921
IDOMFunctionPtr function
Definition idombrush.h:1927
bool antiAlias
Definition idombrush.h:1918
IDOMColorSpacePtr colorSpace
Definition idombrush.h:1919
FMatrix matrix
Definition idombrush.h:1926
bool hasBBox
Definition idombrush.h:1917
IDOMShadingBrush provides a way of representing a PS style type 1 shading pattern.
Definition idombrush.h:1846
virtual const float * getDomain() const =0
Gets the domain range.
virtual void setMatrix(const FMatrix &matrix)=0
Sets the Type 1 shade matrix.
static EDL_API IDOMShadingPatternType1BrushPtr create(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &colorSpace, float domain[4], const IDOMFunctionPtr &function, bool hasBBox=false, const FBox &bBox=FBox(), const IDOMColorPtr &background=IDOMColorPtr(), const FMatrix &matrix=FMatrix(), const FMatrix &renderTransform=FMatrix(), bool antiAlias=false, float opacity=1.0f)
Simplified creator for a type 1 shading pattern brush Throws an IEDLError on failure.
virtual const FMatrix & getMatrix()=0
Gets the Type 1 shade matrix.
virtual void setDomain(float domain[4])=0
Sets the domain range.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:1934
FBox bBox
Definition idombrush.h:2064
IDOMFunctionPtr function
Definition idombrush.h:2075
IDOMColorPtr background
Definition idombrush.h:2068
bool antiAlias
Definition idombrush.h:2066
bool hasBBox
Definition idombrush.h:2065
FPoint startPoint
Definition idombrush.h:2072
IDOMColorSpacePtr colorSpace
Definition idombrush.h:2067
float domain[2]
Definition idombrush.h:2074
FPoint endPoint
Definition idombrush.h:2073
bool extend[2]
Definition idombrush.h:2076
float opacity
Definition idombrush.h:2062
Data()
Definition idombrush.h:2040
uint8 shadingType
Definition idombrush.h:2063
FMatrix renderTransform
Definition idombrush.h:2069
IDOMShadingBrush provides a way of representing a PS style type 2 shading pattern.
Definition idombrush.h:1984
virtual void setEndPoint(const FPoint &point)=0
Set the end point.
virtual const float * getDomain() const =0
Get the domain range.
virtual const FPoint & getStartPoint() const =0
Get the start point.
static EDL_API IDOMShadingPatternType2BrushPtr create(IEDLClassFactory *pFactory, const FPoint &startPoint, const FPoint &endPoint, const IDOMColorSpacePtr &colorSpace, float domain[2], const IDOMFunctionPtr &function, bool extendStart=false, bool extendEnd=false, bool hasBBox=false, const FBox &bBox=FBox(), const IDOMColorPtr &background=IDOMColorPtr(), const FMatrix &renderTransform=FMatrix(), bool antiAlias=false, float opacity=1.0f)
Simplified creator for a type 2 shading pattern brush Throws an IEDLError on failure.
virtual void getExtend(bool &extendStart, bool &extendEnd) const =0
Gets the shading Extend flag to represent whether to extend beyond the start and end points for each ...
virtual const FPoint & getEndPoint() const =0
Get the end point.
virtual void setStartPoint(const FPoint &point)=0
Sets the start point.
virtual void setExtend(bool extendStart, bool extendEnd)=0
Sets the shading Extend flag to represent whether to extend beyond the start and end points.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:2083
virtual IDOMBrushPtr getEquivalentSimpleBrush(IEDLClassFactory *pFactory, uint32 maxSamples=255)=0
Gets an equivalent Linear gradient or Visual brush, which may involve sampling the functions....
virtual void setDomain(float domain[2])=0
Sets the domain range.
float opacity
Definition idombrush.h:2267
IDOMFunctionPtr function
Definition idombrush.h:2283
bool extend[2]
Definition idombrush.h:2284
bool hasBBox
Definition idombrush.h:2270
uint8 shadingType
Definition idombrush.h:2268
bool antiAlias
Definition idombrush.h:2271
FPoint endCircleCenter
Definition idombrush.h:2280
FPoint startCircleCenter
Definition idombrush.h:2278
FBox bBox
Definition idombrush.h:2269
float endCircleRadius
Definition idombrush.h:2281
IDOMColorPtr background
Definition idombrush.h:2273
float domain[2]
Definition idombrush.h:2282
Data()
Definition idombrush.h:2243
FMatrix renderTransform
Definition idombrush.h:2274
float startCircleRadius
Definition idombrush.h:2279
IDOMColorSpacePtr colorSpace
Definition idombrush.h:2272
IDOMShadingPatternType3Brush provides a way of representing a PS style type 2 shading pattern.
Definition idombrush.h:2184
static EDL_API IDOMShadingPatternType3BrushPtr create(IEDLClassFactory *pFactory, const FPoint &startCircleCenter, float startCircleRadius, const FPoint &endCircleCenter, float endCircleRadius, const IDOMColorSpacePtr &colorSpace, float domain[2], const IDOMFunctionPtr &function, bool extendStart=false, bool extendEnd=false, bool hasBBox=false, const FBox &bBox=FBox(), const IDOMColorPtr &background=IDOMColorPtr(), const FMatrix &renderTransform=FMatrix(), bool antiAlias=false, float opacity=1.0f)
Simplified creator for a type 3 shading pattern brush Throws an IEDLError on failure.
virtual const float * getDomain() const =0
Get the domain range.
virtual void setDomain(float domain[2])=0
Sets the domain range.
virtual const FPoint & getStartCircleCenter() const =0
Get the center of the starting circle.
virtual float getStartCircleRadius() const =0
Get the radius of the starting circle.
virtual void setEndCircleCenter(const FPoint &point)=0
Sets the center of the ending circle.
virtual void setStartCircleCenter(const FPoint &point)=0
Sets the center of the starting circle.
virtual void setExtend(bool extendStart, bool extendEnd)=0
Sets the shading Extend flag to represent whether to extend beyond the start and end circles.
virtual float getEndCircleRadius() const =0
Get the radius of the ending circle.
virtual IDOMBrushPtr getEquivalentSimpleBrush(IEDLClassFactory *pFactory, uint32 maxSamples=255)=0
Gets an equivalent Radial gradient or Visual brush, which may involve sampling the functions....
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:2291
virtual void setEndCircleRadius(float radius)=0
Set the radius of the ending circle.
virtual void getExtend(bool &extendStart, bool &extendEnd) const =0
Gets the shading Extend flag to represent whether to extend beyond the start and end points for each ...
virtual void setStartCircleRadius(float radius)=0
Set the radius of the starting circle.
virtual const FPoint & getEndCircleCenter() const =0
Get the center of the ending circle.
uint8 flag
A flag for the mesh entry. Used for Type 4, 6, and 7 shading patterns.
Definition idombrush.h:2471
CEDLVector< CEDLVector< float > > colors
Definition idombrush.h:2474
CEDLVector< FPoint > points
Definition idombrush.h:2472
CMeshEntry()
Definition idombrush.h:2470
float opacity
Definition idombrush.h:2556
IDOMColorPtr background
Definition idombrush.h:2562
uint8 bitsPerCoordinate
Definition idombrush.h:2566
IDOMColorSpacePtr colorSpace
Definition idombrush.h:2561
Data()
Definition idombrush.h:2533
virtual ~Data()
Definition idombrush.h:2551
IDOMFunctionPtr function
Definition idombrush.h:2572
JawsMako::IPDFStringPtr dataSource
Definition idombrush.h:2570
int32 verticesPerRow
Definition idombrush.h:2569
bool hasBBox
Definition idombrush.h:2559
uint8 shadingType
Definition idombrush.h:2557
FMatrix renderTransform
Definition idombrush.h:2563
FBox bBox
Definition idombrush.h:2558
uint8 bitsPerFlag
Definition idombrush.h:2567
CEDLVector< float > decode
Definition idombrush.h:2571
bool antiAlias
Definition idombrush.h:2560
uint8 bitsPerComponent
Definition idombrush.h:2568
IDOMShadingPatternType4567Brush provides a way of representing a PS style type 4 shading pattern.
Definition idombrush.h:2417
virtual void setMeshEntries(const CMeshEntryVect &meshEntries)=0
Set the vector of mesh entries that describe the appearance of this shading pattern.
virtual void setVerticesPerRow(int32 verticesPerRow)=0
Sets the vertices per row flag.
virtual void setBitsPerCoordinate(uint8 bitsPerCoordinate)=0
Sets the bits per coordinate.
static EDL_API IDOMShadingPatternType4567BrushPtr create(IEDLClassFactory *pFactory, uint8 shadingType, const IDOMColorSpacePtr &colorSpace, const JawsMako::IPDFStringPtr &dataSource, const uint8 bitsPerCoordinate=0, const uint8 bitsPerComponent=0, const uint8 bitsPerFlag=0, const int32 verticesPerRow=0, const CEDLVector< float > &decode=CEDLVector< float >(), const IDOMFunctionPtr &function=IDOMFunctionPtr(), bool hasBBox=false, const FBox &bBox=FBox(), const IDOMColorPtr &background=IDOMColorPtr(), const FMatrix &renderTransform=FMatrix(), bool antiAlias=false, float opacity=1.0f)
Simplified creator for a type 4,5,6 or 7 shading pattern brush Throws an IEDLError on failure.
virtual JawsMako::IPDFStringPtr getDataSource() const =0
Gets the data source property.
virtual uint8 getBitsPerComponent() const =0
Gets the bits per component parameter.
virtual uint8 getBitsPerFlag() const =0
Gets the bits per flag parameter.
virtual void setDataSource(const JawsMako::IPDFStringPtr &dataSource)=0
Sets the data source property.
virtual void setBitsPerFlag(uint8 bitsPerFlag)=0
Sets the bits per flag.
virtual uint8 getBitsPerCoordinate() const =0
Gets the bits per coordinate parameter.
virtual void setDecode(const CEDLVector< float > &decode)=0
Sets the decode array.
virtual const CEDLVector< float > & getDecode() const =0
Gets the decode array.
CEDLVector< CMeshEntry > CMeshEntryVect
Definition idombrush.h:2480
virtual int32 getVerticesPerRow() const =0
Gets the vertices per row parameter.
static EDL_API IDOMShadingPatternType4567BrushPtr create(IEDLClassFactory *pFactory, uint8 shadingType, const IDOMColorSpacePtr &colorSpace, const IDOMFunctionPtr &function, const CMeshEntryVect &meshEntries, const uint8 bitsPerCoordinate=16, const uint8 bitsPerComponent=8, const uint8 bitsPerFlag=8, const int32 verticesPerRow=0, const CEDLVector< float > &decode=CEDLVector< float >(), bool hasBBox=false, const FBox &bBox=FBox(), const IDOMColorPtr &background=IDOMColorPtr(), const FMatrix &renderTransform=FMatrix(), bool antiAlias=false, float opacity=1.0f)
Simplified creator for a type 4,5,6 or 7 shading pattern brush, providing a mesh as data source Throw...
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:2579
virtual CMeshEntryVect getMeshEntries() const =0
Get the vector of mesh entries that describe the appearance of this shading pattern....
virtual void setShadingType(uint8 shadingType)=0
Sets the shading type.
virtual void setBitsPerComponent(uint8 bitsPerComponent)=0
Sets the bits per component.
FMatrix renderTransform
Definition idombrush.h:1501
IDOMTransparencyGroupPtr group
Definition idombrush.h:1498
IDOMFunctionPtr transfer
Definition idombrush.h:1500
Data()
Definition idombrush.h:1493
IDOMColorPtr backdropColor
Definition idombrush.h:1499
eSoftMaskType type
Definition idombrush.h:1496
float opacity
Definition idombrush.h:1497
IDOMSoftMaskBrush provides a way of representing a PDF style soft mask in its entirety....
Definition idombrush.h:1455
virtual IDOMColorPtr getBackdropColor() const =0
Retrieves the color used for luminosity backdrop composition.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:1508
eSoftMaskType
Enum for soft mask interpretation.
Definition idombrush.h:1462
@ eLuminosity
Definition idombrush.h:1464
@ eAlpha
Definition idombrush.h:1463
virtual eSoftMaskType getSoftMaskType() const =0
Retrieves the soft mask type.
virtual IDOMTransparencyGroupPtr getGroup() const =0
Retrieves the transparency group used for the mask.
virtual IDOMFunctionPtr getTransferFunction() const =0
Retrieves the function used for luminosity used for deriving mask values.
static EDL_API IDOMSoftMaskBrushPtr create(IEDLClassFactory *pFactory, const IDOMTransparencyGroupPtr &group, eSoftMaskType type, const FMatrix &renderTransform=FMatrix(), const IDOMColorPtr &backdropColor=IDOMColorPtr(), const IDOMFunctionPtr &transfer=IDOMFunctionPtr())
Simplified creator for a soft mask brush. Throws an IEDLError on failure.
Data()
Definition idombrush.h:388
float opacity
Definition idombrush.h:390
IDOMColorPtr color
Definition idombrush.h:391
A solid color brush is used to fill defined geometric regions with a solid color. If there is an alph...
Definition idombrush.h:240
static EDL_API IDOMSolidColorBrushPtr createWithSpaceAndComponents(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &space, double opacity, double component1, double component2=0.0, double component3=0.0, double component4=0.0, double component5=0.0, double component6=0.0, double component7=0.0, double component8=0.0, double component9=0.0, double component10=0.0, double component11=0.0, double component12=0.0, double component13=0.0, double component14=0.0, double component15=0.0, double component16=0.0, double component17=0.0, double component18=0.0, double component19=0.0, double component20=0.0, double component21=0.0, double component22=0.0, double component23=0.0, double component24=0.0, double component25=0.0, double component26=0.0, double component27=0.0, double component28=0.0, double component29=0.0, double component30=0.0, double component31=0.0, double component32=0.0)
Simplified solid color brush creation routine which takes a color space and components directly....
static IDOMSolidColorBrushPtr createSolidGray(IEDLClassFactory *pFactory, float gray=0.0f)
Simplified solid color brush creation for DeviceGray colors. Default parameters will yield an opaque ...
Definition idombrush.h:261
static EDL_API IDOMSolidColorBrushPtr create(IEDLClassFactory *pFactory, const IDOMColorPtr &color, float opacity=1.0f)
Simplified solid color brush creation. Throws an IEDLError on failure.
static EDL_API IDOMSolidColorBrushPtr createWithSpaceAndComponentsFromVect(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &space, float opacity, const CEDLVector< float > &components)
Simplified solid color brush creation routine which takes a color space and components directly....
static IDOMSolidColorBrushPtr createSolidRgb(IEDLClassFactory *pFactory, float r=0.0f, float g=0.0f, float b=0.0f)
Simplified solid color brush creation for DeviceRGB colors. Default parameters will yield an opaque D...
Definition idombrush.h:275
static IDOMSolidColorBrushPtr createSolidCmyk(IEDLClassFactory *pFactory, float c=0.0f, float m=0.0f, float y=0.0f, float k=0.0f)
Simplified solid color brush creation for DeviceCMYK colors. Default parameters will yield an opaque ...
Definition idombrush.h:290
virtual void setColor(const IDOMColorPtr &color)=0
Sets color value of the solid color brush.
static EDL_API IDOMSolidColorBrushPtr createWithSpaceAndComponentsFromArray(IEDLClassFactory *pFactory, const IDOMColorSpacePtr &space, float opacity, const float *components)
Simplified solid color brush creation routine which takes a color space and components directly....
static const CClassID & classID()
Retrieves class id of IDOMIDOMSolidColorBrush.
Definition idombrush.h:398
virtual IDOMColorPtr getColor() const =0
Retrieves the color value of the solid color brush.
Data()
Definition idombrush.h:1583
float opacity
Definition idombrush.h:1595
uint8 patternType
Definition idombrush.h:1596
uint8 tilingType
Definition idombrush.h:1601
uint8 paintType
Definition idombrush.h:1600
FMatrix renderTransform
Definition idombrush.h:1602
float ystep
Definition idombrush.h:1599
IDOMColorPtr patternColor
Definition idombrush.h:1607
FBox bBox
Definition idombrush.h:1597
IDOMNodePtr visual
Definition idombrush.h:1609
float xstep
Definition idombrush.h:1598
IDOMTilingPatternBrush provides a way of representing a PS style tiling pattern.
Definition idombrush.h:1549
virtual IDOMTilingPatternBrushPtr getColoredTilingPatternBrush(IEDLClassFactory *pFactory, bool overprint=false)=0
Get a version of this tiling pattern brush that is always colored (paint type 1) If the brush is alre...
virtual IDOMNodePtr getVisual() const =0
Retrieves smart pointer to visual (path, glyphs, group, canvas) node.
static EDL_API IDOMTilingPatternBrushPtr create(IEDLClassFactory *pFactory, const IDOMNodePtr &visual, const FRect &bBox, uint8 paintType, const IDOMColorPtr &color, float xStep, float yStep, uint8 tilingType=1, const FMatrix &renderTransform=FMatrix())
Simplified creator for a tiling brush. Throws an IEDLError on failure.
static const CClassID & classID()
Retrieves class id of IDOM.
Definition idombrush.h:1616
virtual const FBox & getBBox() const =0
Retrieves the bounding box for the pattern.
virtual uint8 getPatternType() const =0
Retrieves the pattern type.
virtual void setPatternColor(const IDOMColorPtr &color)=0
Sets the pattern color for uncolored pattern (paint type is 2)
virtual void setTilingType(uint8 tilingType)=0
Sets the tiling type for the pattern.
virtual uint8 getPaintType() const =0
Gets the paint type for the pattern.
virtual void setPaintType(uint8 paintType)=0
Sets the paint type for the pattern.
virtual IDOMVisualBrushPtr getEquivalentVisualBrush(IEDLClassFactory *pFactory)=0
Gets an equivalent IDOMVisualBrush brush. If the brush has overlapping tiles, this cannot be done.
virtual void getTilingStep(float &xstep, float &ystep) const =0
Retrieves the tiling step for the pattern.
virtual IDOMColorPtr getPatternColor() const =0
Gets the pattern color for uncolored pattern (paint type is 2)
virtual uint8 getTilingType() const =0
Gets the tiling type for the pattern.
virtual void setVisual(const IDOMNodePtr &ptrVisual)=0
Sets visual node.
virtual void setTilingStep(float xstep, float ystep)=0
Sets the tiling step for the pattern.
virtual void setBBox(const FBox &bBox)=0
Sets the bounding box for the pattern.
eViewUnits viewBoxUnits
Definition idombrush.h:1270
eTilingMode tileMode
Definition idombrush.h:1269
FMatrix renderTransform
Definition idombrush.h:1273
FRect viewPort
Definition idombrush.h:1268
eViewUnits viewPortUnits
Definition idombrush.h:1271
IDOMNodePtr ptrVisual
Definition idombrush.h:1272
Data()
Definition idombrush.h:1263
FRect viewBox
Definition idombrush.h:1267
float opacity
Definition idombrush.h:1266
A visual brush is used to fill a region with a vector drawing.
Definition idombrush.h:1233
virtual IDOMVisualBrushPtr getEquivalentSimpleVisualBrush(IEDLClassFactory *pFactory)=0
Gets an equivalent visual brush where any flip tile mode is simplified to simple tiling....
virtual eTilingMode getTileMode() const =0
Retrieves the tiling mode value of the visual brush.
virtual void setViewBoxUnits(eViewUnits vu)=0
Sets the viewbox units value of the image brush. Currently, only absolute units are supported.
virtual const FRect & getViewPort() const =0
Retrieves the viewport rectangle.
virtual void setTileMode(eTilingMode tm)=0
Sets tiling mode value of the visual brush.
virtual void setViewPort(const FRect &vp)=0
Sets the viewport rectangle.
static EDL_API IDOMVisualBrushPtr create(IEDLClassFactory *pFactory, const IDOMNodePtr &visual, const FRect &viewBox, const FRect &viewPort, const FMatrix &renderTransform=FMatrix(), float opacity=1.0f, eTilingMode tileMode=eNoTile)
Simplified creator for a visual brush. Throws an IEDLError on failure.
virtual void setViewBox(const FRect &vb)=0
Sets viewbox rectangle.
static const CClassID & classID()
Retrieves the class id of IDOMVisualBrush.
Definition idombrush.h:1280
virtual IDOMTilingPatternBrushPtr getEquivalentTilingBrush(IEDLClassFactory *pFactory)=0
Gets an equivalent IDOMTilingPattern brush. If the receiver has a tile mode of eNoTile,...
virtual IDOMNodePtr getVisual() const =0
Retrieves smart pointer to the visual node (path, glyphs, group or canvas node) used to specify the s...
virtual void setViewPortUnits(eViewUnits vu)=0
Sets the viewport units used for the image brush. Currently, only absolute units are supported.
virtual void setVisual(const IDOMNodePtr &ptrVisual)=0
Sets the visual node (path, glyphs or canvas node) used to specify the source for the visual brush.
virtual const FRect & getViewBox() const =0
Retrieves the viewbox rectangle.
virtual eViewUnits getViewPortUnits() const =0
Retrieves the viewport units value of the image brush. Currently, only absolute units are supported.
virtual eViewUnits getViewBoxUnits() const =0
Retrieves the viewbox units used by the image brush. Currently, only absolute units are supported.
IDOMVisualRoot interface.
Definition idombrush.h:1419
static EDL_API IDOMVisualRootPtr create(IEDLClassFactory *pFactory)
static const CClassID & classID()
Retrieves the class ID of IDOMVisualRoot.
Definition idombrush.h:1427
EDL Factory Interface allows one part of the EDL infrastructure to register class creation methods id...
Definition iedlfactory.h:31
IEDLObject is an abstract base class that is used by all classes that are intended to be created via ...
Definition iedlobject.h:53
CEDLVector< IDOMPDFAlternateImagePtr > CDOMAlternateImageVect
Definition edlfwd.h:84
PointTmpl< double > FPoint
Definition edlgeom.h:102
CTransformMatrix< double > FMatrix
Definition edlgeom.h:1266
BoxTmpl< double > FBox
Definition edlgeom.h:441
RectTmpl< double > FRect
Definition edlgeom.h:338
#define _END_EDL_DOM_NAMESPACE
Definition edlnamespaces.h:110
#define _BEGIN_EDL_DOM_NAMESPACE
Definition edlnamespaces.h:109
EDL "standard" types including known bit-length signed and unsigned integer type[def]s and definition...
unsigned int uint32
Definition edltypes.h:34
#define EDL_API
Definition edltypes.h:86
signed int int32
Definition edltypes.h:29
unsigned char uint8
Definition edltypes.h:32
eColorInterpolationMode
Color interpolation mode type enumeration.
Definition idombrush.h:426
eViewUnits
View units type enumeration.
Definition idombrush.h:804
eBrushType
Brush type enumeration.
Definition idombrush.h:62
eTilingMode
Tiling mode type enumeration.
Definition idombrush.h:814
eSpreadMethod
Spread Method type enumeration.
Definition idombrush.h:437
eBlackPointCompensation
Black point compensation enumeration.
Definition edlblackpointcompensation.h:17
eRenderingIntent
Rendering intent enumeration.
Definition edlrenderingintent.h:17
@ eBPCDefault
Default behavior.
Definition edlblackpointcompensation.h:19
@ eRelativeColorimetric
Relative colorimetric rendering intent.
Definition edlrenderingintent.h:20
#define IDOMShadingPatternType2BrushClassID
Definition idombrush.h:1985
#define IDOMSoftMaskBrushClassID
Definition idombrush.h:1456
#define IDOMImageBrushClassID
Definition idombrush.h:835
#define IDOMVisualRootClassID
Definition idombrush.h:1420
#define IDOMRadialGradientBrushClassID
Definition idombrush.h:662
#define IDOMShadingPatternType3BrushClassID
Definition idombrush.h:2185
#define IDOMGradientStopClassID
Definition idombrush.h:169
#define IDOMLinearGradientBrushClassID
Definition idombrush.h:538
#define IDOMVisualBrushClassID
Definition idombrush.h:1234
#define IDOMTilingPatternBrushClassID
Definition idombrush.h:1550
#define IDOMMaskedBrushClassID
Definition idombrush.h:1107
#define IDOMSolidColorBrushClassID
Definition idombrush.h:241
#define IDOMNullBrushClassID
Definition idombrush.h:2689
#define IDOMShadingPatternType1BrushClassID
Definition idombrush.h:1847
#define IDOMShadingPatternType4567BrushClassID
Definition idombrush.h:2418
CEDLVector< IDOMGradientStopPtr > CDOMGradientStopVect
Definition idombrush.h:230
@ eSCRgbLinearInterpolation
Linear interpolation for scRGB color space.
Definition idombrush.h:428
@ eSRgbLinearInterpolation
Linear interpolation for sRGB color space.
Definition idombrush.h:427
@ eAbsolute
Absolute units.
Definition idombrush.h:805
@ eFlipX
Definition idombrush.h:817
@ eTile
Tile image without any flipping or rotating of the image. A square image consisting of a single diago...
Definition idombrush.h:816
@ eNoTile
No tiling. If the area to be painted is larger than the image, just paint the image once (in the loca...
Definition idombrush.h:815
@ eFlipXY
Tile image such that alternate columns of tiles are flipped horizontally AND alternate rows of tiles ...
Definition idombrush.h:821
@ eFlipY
Tile image such that alternate rows of tiles are flipped vertically. A square image consisting of a s...
Definition idombrush.h:820
@ eReflect
Fill the remaining area by reflecting the gradient, such that the finish point becomes the start of t...
Definition idombrush.h:439
@ eNoSpread
Do not fill the remaining area, but allow it to remain transparent.
Definition idombrush.h:441
@ eRepeat
Fill the remaining area by repeating the gradient from its first gradient stop, starting at the point...
Definition idombrush.h:440
@ ePad
Fill the remaining area with the color specified by the final gradient stop.
Definition idombrush.h:438
EDL iterator template classes designed to allow iteration over the contents of a collection....
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211