Category : graphics

I’m learning and trying to understand the lower level parts of Android’s Graphics architecture, in particular when a layout is created, how does Android put graphical data into a buffer and the data gets correctly displayed on Surfaces/Windows on-screen. However, I’m having a bit of trouble wrapping my head around how it all works and ..

Read more

I’m trying to add the reflection feature, something like this : Original Sticker—————Reflected Sticker My code: public void reflectCurrentSticker(int screenWidth) { //Matrix and width of the original sticker. Matrix originalMatrix = originalSticker.getMatrix(); float originalWidth = getCurrentSticker().getCurrentWidth(); // Y // —-|—– x // | Matrix newMatrix = new Matrix(); float[] values = new float[9]; originalMatrix.getValues(values); float ..

Read more