Home | History | Annotate | Download | only in context

Lines Matching full:platformgraphicscontext

96     static unsigned hash(PlatformGraphicsContext::State* const& state)
98 return StringHasher::hashMemory(state, sizeof(PlatformGraphicsContext::State));
101 static bool equal(PlatformGraphicsContext::State* const& a,
102 PlatformGraphicsContext::State* const& b)
104 return a && b && !memcmp(a, b, sizeof(PlatformGraphicsContext::State));
126 typedef HashSet<PlatformGraphicsContext::State*, StateHash> StateHashSet;
158 void playback(PlatformGraphicsContext* context, size_t fromId, size_t toId) const {
174 void enterState(PlatformGraphicsContext* context) {
182 void exitState(PlatformGraphicsContext* context) {
228 PlatformGraphicsContext::State* getState(PlatformGraphicsContext::State* inState) {
232 void* buf = heap()->alloc(sizeof(PlatformGraphicsContext::State));
233 PlatformGraphicsContext::State* state = new (buf) PlatformGraphicsContext::State(*inState);
261 void applyState(PlatformGraphicsContext* context,
498 : PlatformGraphicsContext()
550 PlatformGraphicsContext::save();
558 PlatformGraphicsContext::restore();
569 PlatformGraphicsContext::setAlpha(alpha);
575 PlatformGraphicsContext::setCompositeOperation(op);
581 if (PlatformGraphicsContext::setFillColor(c)) {
590 if (PlatformGraphicsContext::setFillShader(fillShader)) {
599 PlatformGraphicsContext::setLineCap(cap);
605 PlatformGraphicsContext::setLineDash(dashes, dashOffset);
611 PlatformGraphicsContext::setLineJoin(join);
617 PlatformGraphicsContext::setMiterLimit(limit);
623 PlatformGraphicsContext::setShadow(radius, dx, dy, c);
630 PlatformGraphicsContext::setShouldAntialias(useAA);
636 if (PlatformGraphicsContext::setStrokeColor(c)) {
645 if (PlatformGraphicsContext::setStrokeShader(strokeShader)) {
654 PlatformGraphicsContext::setStrokeStyle(style);
660 PlatformGraphicsContext::setStrokeThickness(f);