OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:limitingConeAngle
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
SpotLightSource.cpp
55
float
limitingConeAngle
= m_limitingConeAngle;
56
if (
limitingConeAngle
< 0.0f)
57
limitingConeAngle
= -
limitingConeAngle
;
58
if (
limitingConeAngle
> 90.0f)
59
limitingConeAngle
= 90.0f;
60
paintingData.coneCutOffLimit = cosf(deg2rad(180.0f -
limitingConeAngle
));
125
bool SpotLightSource::setLimitingConeAngle(float
limitingConeAngle
)
127
if (m_limitingConeAngle ==
limitingConeAngle
)
129
m_limitingConeAngle =
limitingConeAngle
;
[
all
...]
SpotLightSource.h
33
const FloatPoint3D& direction, float specularExponent, float
limitingConeAngle
)
35
return adoptRef(new SpotLightSource(position, direction, specularExponent,
limitingConeAngle
));
48
float
limitingConeAngle
() const { return m_limitingConeAngle; }
63
float specularExponent, float
limitingConeAngle
)
68
, m_limitingConeAngle(
limitingConeAngle
)
FELighting.cpp
465
float
limitingConeAngle
= spotLightSource->
limitingConeAngle
();
466
if (!
limitingConeAngle
||
limitingConeAngle
> 90 ||
limitingConeAngle
< -90)
467
limitingConeAngle
= 90;
469
return adoptRef(SkLightingImageFilter::CreateSpotLitSpecular(location, target, specularExponent,
limitingConeAngle
, lightColor.rgb(), m_surfaceScale, m_specularConstant, m_specularExponent, input.get(), &rect));
470
return adoptRef(SkLightingImageFilter::CreateSpotLitDiffuse(location, target, specularExponent,
limitingConeAngle
, lightColor.rgb(), m_surfaceScale, m_diffuseConstant, input.get(), &rect));
/external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFESpotLightElement.cpp
38
return SpotLightSource::create(filter->resolve3dPoint(position()), filter->resolve3dPoint(pointsAt()), specularExponent()->currentValue()->value(),
limitingConeAngle
()->currentValue()->value());
SVGFESpotLightElement.idl
34
readonly attribute SVGAnimatedNumber
limitingConeAngle
;
SVGFELightElement.h
60
SVGAnimatedNumber*
limitingConeAngle
() { return m_limitingConeAngle.get(); }
61
const SVGAnimatedNumber*
limitingConeAngle
() const { return m_limitingConeAngle.get(); }
SVGFEDiffuseLightingElement.cpp
115
return lightSource->setLimitingConeAngle(lightElement->
limitingConeAngle
()->currentValue()->value());
SVGFESpecularLightingElement.cpp
122
return lightSource->setLimitingConeAngle(lightElement->
limitingConeAngle
()->currentValue()->value());
Completed in 35 milliseconds