/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/ |
H A D | Circle.py | 29 shadowOffset = ivar(u'shadowOffset', 'd') variable in class:Circle 34 return [u"xLoc", u"yLoc", u"shadowOffset", u"shadowAngle", u"color", u"radius"] 53 if self.shadowOffset > 0.0: 54 shadowXOffset = sin(self.shadowAngle)*self.shadowOffset 55 shadowYOffset = cos(self.shadowAngle)*self.shadowOffset 57 shadowBounds = NSMakeRect(self.xLoc - self.radius + shadowXOffset - (self.shadowOffset/2), 58 self.yLoc - self.radius + shadowYOffset - (self.shadowOffset/2), 59 (self.radius*2)+self.shadowOffset, 60 (self.radius*2)+self.shadowOffset) [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/CocoaBindings/GraphicsBindings/ |
H A D | Circle.py | 29 shadowOffset = ivar(u'shadowOffset', 'd') variable in class:Circle 34 return [u"xLoc", u"yLoc", u"shadowOffset", u"shadowAngle", u"color", u"radius"] 53 if self.shadowOffset > 0.0: 54 shadowXOffset = sin(self.shadowAngle)*self.shadowOffset 55 shadowYOffset = cos(self.shadowAngle)*self.shadowOffset 57 shadowBounds = NSMakeRect(self.xLoc - self.radius + shadowXOffset - (self.shadowOffset/2), 58 self.yLoc - self.radius + shadowYOffset - (self.shadowOffset/2), 59 (self.radius*2)+self.shadowOffset, 60 (self.radius*2)+self.shadowOffset) [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/win/ |
H A D | FontCGWin.cpp | 183 FloatSize shadowOffset; local 187 graphicsContext->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 196 float shadowTextX = point.x() + translation.width() + shadowOffset.width(); 198 float shadowTextY = point.y() + translation.height() + shadowOffset.height() * (graphicsContext->shadowsIgnoreTransforms() ? -1 : 1); 202 CGContextSetTextPosition(cgContext, point.x() + translation.width() + shadowOffset.width() + font->syntheticBoldOffset(), point.y() + translation.height() + shadowOffset.height()); 216 graphicsContext->setShadow(shadowOffset, shadowBlur, shadowColor, ColorSpaceDeviceRGB);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cairo/ |
H A D | FontCairo.cpp | 77 FloatSize shadowOffset(graphicsContext->state().shadowOffset); 78 cairo_translate(context, shadowOffset.width(), shadowOffset.height());
|
H A D | GraphicsContextCairo.cpp | 222 m_state.shadowOffset, 791 m_state.shadowOffset = FloatSize(size.width(), -size.height()); 796 m_state.shadowOffset,
|
/macosx-10.9.5/WebKit-7537.78.2/win/ |
H A D | WebKitGraphics.cpp | 111 (info->shadowOffset.cx || info->shadowOffset.cy || info->shadowBlur || info->shadowColor)) 112 context.setShadow(FloatSize(info->shadowOffset.cx, info->shadowOffset.cy), info->shadowBlur, info->shadowColor, ColorSpaceDeviceRGB);
|
H A D | WebKitGraphics.h | 61 SIZE shadowOffset; member in struct:WebTextRenderInfo
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/ |
H A D | TLayerView.py | 17 shadowOffset = objc.ivar(type=CGSize.__typestr__) variable in class:TLayerView 53 if self.shadowOffset != offset: 54 self.shadowOffset = offset 69 dx = 2 * abs(self.shadowOffset.width) + 2 * self.shadowRadius; 70 dy = 2 * abs(self.shadowOffset.height) + 2 * self.shadowRadius; 127 CGContextSetShadow(context, self.shadowOffset, self.shadowRadius)
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Quartz/Examples/TLayer/ |
H A D | TLayerView.py | 17 shadowOffset = objc.ivar(type=CGSize.__typestr__) variable in class:TLayerView 53 if self.shadowOffset != offset: 54 self.shadowOffset = offset 69 dx = 2 * abs(self.shadowOffset.width) + 2 * self.shadowRadius; 70 dy = 2 * abs(self.shadowOffset.height) + 2 * self.shadowRadius; 127 CGContextSetShadow(context, self.shadowOffset, self.shadowRadius)
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/mac/ |
H A D | FontMac.mm | 225 FloatSize shadowOffset; 230 context->getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 248 float shadowTextX = point.x() + shadowOffset.width(); 250 float shadowTextY = point.y() + shadowOffset.height() * (context->shadowsIgnoreTransforms() ? -1 : 1); 262 context->setShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/texmap/ |
H A D | TextureMapperShaderProgram.h | 81 TEXMAP_DECLARE_UNIFORM(shadowOffset)
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/qt/ |
H A D | FontQt.cpp | 149 const QPointF shadowOffset(state.shadowOffset.width(), state.shadowOffset.height()); 150 painter->translate(shadowOffset); 155 painter->translate(-shadowOffset);
|
H A D | GraphicsContextQt.cpp | 644 QPointF offset(m_state.shadowOffset.width(), m_state.shadowOffset.height()); 702 QPointF offset(m_state.shadowOffset.width(), m_state.shadowOffset.height()); 822 p->fillRect(normalizedRect.translated(QPointF(m_state.shadowOffset.width(), m_state.shadowOffset.height())), shadowColor); 845 p->fillRect(platformRect.translated(QPointF(m_state.shadowOffset.width(), m_state.shadowOffset.height())), shadowColor); 864 const QPointF shadowOffset(m_state.shadowOffset [all...] |
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/ |
H A D | GraphicsContext.cpp | 143 m_state.shadowOffset = offset; 152 m_state.shadowOffset = offset; 164 m_state.shadowOffset = FloatSize(); 174 && (m_state.shadowBlur || m_state.shadowOffset.width() || m_state.shadowOffset.height()); 179 offset = m_state.shadowOffset;
|
H A D | GraphicsContext.h | 162 FloatSize shadowOffset; member in struct:WebCore::GraphicsContextState
|
H A D | ShadowBlur.cpp | 193 , m_offset(state.shadowOffset)
|
/macosx-10.9.5/WebCore-7537.78.1/rendering/ |
H A D | RenderBoxModelObject.cpp | 746 FloatSize shadowOffset(boxShadow->x(), boxShadow->y()); 748 context->setShadow(shadowOffset, boxShadow->radius(), boxShadow->color(), style->colorSpace()); 750 context->setLegacyShadow(shadowOffset, boxShadow->radius(), boxShadow->color(), style->colorSpace()); 2575 static inline IntRect areaCastingShadowInHole(const IntRect& holeRect, int shadowExtent, int shadowSpread, const IntSize& shadowOffset) argument 2585 offsetBounds.move(-shadowOffset); 2607 IntSize shadowOffset(shadow->x(), shadow->y()); 2612 if (shadowOffset.isZero() && !shadowRadius && !shadowSpread) 2625 shadowRect.move(shadowOffset); 2632 IntSize extraOffset(paintRect.pixelSnappedWidth() + max(0, shadowOffset.width()) + shadowPaintingExtent + 2 * shadowSpread + 1, 0); 2633 shadowOffset [all...] |
H A D | InlineTextBox.cpp | 413 FloatSize shadowOffset(shadowX, shadowY); 420 shadowRect.move(shadowOffset); 424 extraOffset = FloatSize(0, 2 * textRect.height() + max(0.0f, shadowOffset.height()) + shadowRadius); 425 shadowOffset -= extraOffset; 428 context->setShadow(shadowOffset, shadowRadius, shadowColor, context->fillColorSpace());
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/ |
H A D | FontBlackBerry.cpp | 108 FloatSize offset = state.shadowOffset;
|
H A D | GraphicsContextBlackBerry.cpp | 80 setPlatformShadow(m_state.shadowOffset, m_state.shadowBlur, m_state.shadowColor, m_state.shadowColorSpace);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/wince/ |
H A D | GraphicsContextWinCE.cpp | 1145 FloatSize shadowOffset; 1150 getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace); 1154 dstRect.move(stableRound(shadowOffset.width()), stableRound(shadowOffset.height())); 1569 FloatSize shadowOffset; local 1574 && getShadow(shadowOffset, shadowBlur, shadowColor, shadowColorSpace) 1580 trShadowPoint = m_data->mapPoint(startPoint + shadowOffset);
|
/macosx-10.9.5/WebCore-7537.78.1/platform/mac/ |
H A D | ScrollbarThemeMac.mm | 630 contentShadowLayer.shadowOffset = CGSizeZero;
|
H A D | HTMLConverter.mm | 479 NSSize shadowOffset; 487 shadowOffset.width = [[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), firstRange.location - NSMaxRange(spaceRange))] floatValue]; 490 shadowOffset.height = -[[shadowStyle substringWithRange:NSMakeRange(NSMaxRange(spaceRange), secondRange.location - NSMaxRange(spaceRange))] floatValue]; 496 [shadow setShadowOffset:shadowOffset];
|
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/ |
H A D | WebHTMLView.mm | 4303 NSSize offset = [shadow shadowOffset];
|