Home
last modified time | relevance | path

Searched refs:hotSpot (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/css/
DCSSCursorImageValue.h35 static PassRefPtr<CSSCursorImageValue> create(const String& url, const IntPoint& hotSpot) in create() argument
37 return adoptRef(new CSSCursorImageValue(url, hotSpot)); in create()
42 IntPoint hotSpot() const { return m_hotSpot; } in hotSpot() function
52 CSSCursorImageValue(const String& url, const IntPoint& hotSpot);
DCSSCursorImageValue.cpp56 CSSCursorImageValue::CSSCursorImageValue(const String& url, const IntPoint& hotSpot) in CSSCursorImageValue() argument
58 , m_hotSpot(hotSpot) in CSSCursorImageValue()
DCSSParser.cpp1111 IntPoint hotSpot(-1, -1); in parseValue() local
1116 hotSpot = IntPoint(coords[0], coords[1]); in parseValue()
1121 list->append(CSSCursorImageValue::create(m_styleSheet->completeURL(uri), hotSpot)); in parseValue()
/external/webkit/Source/WebCore/rendering/style/
DCursorData.h35 CursorData(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) in CursorData() argument
37 , m_hotSpot(hotSpot) in CursorData()
54 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
DRenderStyle.cpp594 void RenderStyle::addCursor(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) in addCursor() argument
598 rareInheritedData.access()->cursorData->append(CursorData(image, hotSpot)); in addCursor()
DRenderStyle.h1016 void addCursor(PassRefPtr<StyleImage>, const IntPoint& hotSpot = IntPoint());
/external/webkit/Source/WebCore/platform/chromium/
DPlatformCursor.h94 PlatformCursor(Image* image, const IntPoint& hotSpot) in PlatformCursor() argument
96 , m_hotSpot(hotSpot) in PlatformCursor()
100 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
DCursorChromium.cpp43 Cursor::Cursor(Image* image, const IntPoint& hotSpot) in Cursor() argument
44 : m_platformCursor(image, hotSpot) in Cursor()
/external/webkit/Source/WebKit/chromium/src/
DWebCursorInfo.cpp43 hotSpot = cursor.impl().hotSpot(); in WebCursorInfo()
/external/chromium/webkit/glue/
Dwebcursor_unittest.cc121 EXPECT_EQ(gfx::Point(1, 1), gfx::Point(info.hotSpot)); in TEST()
125 info.hotSpot = gfx::Point(-1, -1); in TEST()
128 EXPECT_EQ(gfx::Point(0, 0), gfx::Point(info.hotSpot)); in TEST()
Dwebcursor_mac.mm31 hotSpot:NSMakePoint(x, y)] autorelease];
71 hotSpot:NSMakePoint(hotspot.x(),
279 cursor_info.hotSpot = WebKit::WebPoint(cursor->hotSpot.h, cursor->hotSpot.v);
326 NSPoint hot_spot = [cursor hotSpot];
327 cursor_info.hotSpot = WebKit::WebPoint(hot_spot.x, hot_spot.y);
Dwebcursor.cc57 hotspot_ = cursor_info.hotSpot; in InitFromCursorInfo()
65 cursor_info->hotSpot = hotspot_; in GetCursorInfo()
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
DSDL_macmouse.c82 cursor->curs.hotSpot.h = hot_x; in Mac_CreateWMCursor()
83 cursor->curs.hotSpot.v = hot_y; in Mac_CreateWMCursor()
/external/webkit/Source/WebCore/platform/win/
DCursorWin.cpp43 static PassRefPtr<SharedCursor> createSharedCursor(Image* img, const IntPoint& hotSpot) in createSharedCursor() argument
47 IntPoint effectiveHotSpot = determineHotSpot(img, hotSpot); in createSharedCursor()
126 IntPoint hotSpot(x, y); in loadCursorByName() local
129 return createSharedCursor(cursorImage.get(), hotSpot); in loadCursorByName()
/external/webkit/Source/WebCore/platform/mac/
DCursorMac.mm43 static RetainPtr<NSCursor> createCustomCursor(Image* image, const IntPoint& hotSpot)
50 return RetainPtr<NSCursor>(AdoptNS, [[NSCursor alloc] initWithImage:nsImage hotSpot:hotSpot]);
68 cursor = [[NSCursor alloc] initWithImage:cursorImage hotSpot:hotSpotPoint];
/external/webkit/Source/WebKit2/Shared/
DWebCoreArgumentCoders.h210 encoder->encode(cursor.hotSpot());
234 WebCore::IntPoint hotSpot;
235 if (!decoder->decode(hotSpot))
237 if (!image->rect().contains(WebCore::IntRect(hotSpot, WebCore::IntSize())))
240 cursor = WebCore::Cursor(image.get(), hotSpot);
/external/webkit/Source/WebCore/platform/qt/
DCursorQt.cpp76 static QCursor* createCustomCursor(Image* image, const IntPoint& hotSpot) in createCustomCursor() argument
78 IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot); in createCustomCursor()
/external/webkit/Source/WebCore/platform/
DCursor.h163 Cursor(Image*, const IntPoint& hotSpot);
172 const IntPoint& hotSpot() const { return m_hotSpot; } in hotSpot() function
DCursor.cpp242 Cursor::Cursor(Image* image, const IntPoint& hotSpot) in Cursor() argument
245 , m_hotSpot(determineHotSpot(image, hotSpot)) in Cursor()
/external/webkit/Source/WebCore/platform/gtk/
DCursorGtk.cpp62 static GRefPtr<GdkCursor> createCustomCursor(Image* image, const IntPoint& hotSpot) in createCustomCursor() argument
64 IntPoint effectiveHotSpot = determineHotSpot(image, hotSpot); in createCustomCursor()
/external/webkit/Source/WebKit/chromium/public/
DWebCursorInfo.h97 WebPoint hotSpot; member
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageSourceCG.cpp208 bool ImageSource::getHotSpot(IntPoint& hotSpot) const in getHotSpot()
226 hotSpot = IntPoint(x, y); in getHotSpot()
/external/webkit/Source/WebCore/platform/graphics/
DBitmapImage.cpp189 bool BitmapImage::getHotSpot(IntPoint& hotSpot) const in getHotSpot()
191 bool result = m_source.getHotSpot(hotSpot); in getHotSpot()
/external/webkit/Source/WebCore/page/
DEventHandler.cpp1191 IntPoint hotSpot = (*cursors)[i].hotSpot(); in selectCursor() local
1199 return Cursor(cimage->image(), hotSpot); in selectCursor()
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzWM.m76 cursor->nscursor = [ [ NSCursor alloc ] initWithImage: img hotSpot: NSMakePoint(hot_x, hot_y) ];

12