Home
last modified time | relevance | path

Searched refs:fMouseX (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DSampleApp.cpp659 fMouseX = x; in updatePointer()
811 fMouseX = fMouseY = 0; in SampleWindow()
1061 SkScalar mouseX = fMouseX * SK_Scalar1; in magnify()
1095 if (fMouseX >= width) fMouseX = width - 1; in showZoomer()
1096 else if (fMouseX < 0) fMouseX = 0; in showZoomer()
1108 src.offset(fMouseX - (src.width()>>1), fMouseY - (src.height()>>1)); in showZoomer()
1121 …originalPixel.set(SkIntToScalar(fMouseX), SkIntToScalar(fMouseY), SkIntToScalar(fMouseX + 1), SkIn… in showZoomer()
1125 SkColor color = bitmap.getColor(fMouseX, fMouseY); in showZoomer()
1144 string.appendf("(%i, %i)", fMouseX, fMouseY); in showZoomer()
DSampleApp.h198 int fMouseX, fMouseY; variable