diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 12:40:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 12:40:26 +0100 |
commit | e336d7f80fd9f7ada4b12c37f9434df411d28466 (patch) | |
tree | fb28155ee8eae8fb087bd9aabaf5a267b6e4035d /include | |
parent | c4ecd6c49307127823375b8ed6e3033441325015 (diff) |
Remove unused MSO_ShadeType
<sberg> vmiklos, any idea how useful the definition of enum MSO_ShadeType in
include/svx/msdffdef.hxx is? Neither the type nor any of its enumerators are
used anywhere, so it's rather glorious documentation of some (presumed) MS API
vmiklos> sberg: doesn't look too useful, i guess the context is color shading in
binary MSO files, but then that's handled in
filter/source/msfilter/msdffimp.cxx:1069, and the ShadeColor struct already
describes what is in the spec.
Change-Id: Iae4c12828179173368ff17128bcaa80edaa3db23
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/msdffdef.hxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index fc2f7aff8830..d4f132beb7eb 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -673,27 +673,6 @@ enum MSO_FillType { mso_fillBackground // Use the background fill color/pattern }; -// MSO_SHADETYPE - how to interpret the colors in a shaded fill. -enum MSO_ShadeType { - mso_shadeNone = 0, // Interpolate without correction between RGBs - mso_shadeGamma = 1, // Apply gamma correction to colors - mso_shadeSigma = 2, // Apply a sigma transfer function to position - mso_shadeBand = 4, // Add a flat band at the start of the shade - mso_shadeOneColor = 8, // This is a one color shade - - /* A parameter for the band or sigma function can be stored in the top - 16 bits of the value - this is a proportion of *each* band of the - shade to make flat (or the approximate equal value for a sigma - function). NOTE: the parameter is not used for the sigma function, - instead a built in value is used. This value should not be changed - from the default! */ - mso_shadeParameterShift = 16, - mso_shadeParameterMask = 0xffff0000, - - mso_shadeDefault = (mso_shadeGamma|mso_shadeSigma| - (16384<<mso_shadeParameterShift)) -}; - // MSOLINESTYLE - compound line style enum MSO_LineStyle { mso_lineSimple, // Single line (of width lineWidth) |