Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleShip.cpp63 SkScalar anchorY = fAtlas->height()*0.5f; in DrawShipView() local
74 xPos, yPos, anchorX, anchorY); in DrawShipView()
82 kWidth*0.5f, kHeight*0.5f, anchorX, anchorY); in DrawShipView()
133 SkScalar anchorY = fAtlas->height()*0.5f; in onDrawContent() local
138 SkScalar dx = c*anchorX - s*anchorY; in onDrawContent()
139 SkScalar dy = s*anchorX + c*anchorY; in onDrawContent()
144 dx -= fXform[i].fSCos*anchorX - fXform[i].fSSin*anchorY; in onDrawContent()
145 dy -= fXform[i].fSSin*anchorX + fXform[i].fSCos*anchorY; in onDrawContent()
/external/skqp/samplecode/
DSampleShip.cpp63 SkScalar anchorY = fAtlas->height()*0.5f; in DrawShipView() local
74 xPos, yPos, anchorX, anchorY); in DrawShipView()
82 kWidth*0.5f, kHeight*0.5f, anchorX, anchorY); in DrawShipView()
133 SkScalar anchorY = fAtlas->height()*0.5f; in onDrawContent() local
138 SkScalar dx = c*anchorX - s*anchorY; in onDrawContent()
139 SkScalar dy = s*anchorX + c*anchorY; in onDrawContent()
144 dx -= fXform[i].fSCos*anchorX - fXform[i].fSSin*anchorY; in onDrawContent()
145 dy -= fXform[i].fSSin*anchorX + fXform[i].fSCos*anchorY; in onDrawContent()