OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SkColorShader
(Results
1 - 2
of
2
) sorted by null
/external/skia/src/shaders/
SkColorShader.h
15
/** \class
SkColorShader
20
class
SkColorShader
: public SkShaderBase {
26
explicit
SkColorShader
(SkColor c);
33
ColorShaderContext(const
SkColorShader
& shader, const ContextRec&);
55
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(
SkColorShader
)
58
SkColorShader
(SkReadBuffer&);
113
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(
SkColorShader
)
SkColorShader.cpp
9
#include "
SkColorShader
.h"
16
SkColorShader
::
SkColorShader
(SkColor c) : fColor(c) {}
18
bool
SkColorShader
::isOpaque() const {
22
sk_sp<SkFlattenable>
SkColorShader
::CreateProc(SkReadBuffer& buffer) {
23
return sk_make_sp<
SkColorShader
>(buffer.readColor());
26
void
SkColorShader
::flatten(SkWriteBuffer& buffer) const {
30
uint32_t
SkColorShader
::ColorShaderContext::getFlags() const {
34
SkShaderBase::Context*
SkColorShader
::onMakeContext(const ContextRec& rec,
39
SkColorShader
::ColorShaderContext::ColorShaderContext(const SkColorShader& shader
[
all
...]
Completed in 392 milliseconds