Top "Graphics" questions

Graphics are visual presentations.

GraphViz - How to connect subgraphs?

In the DOT language for GraphViz, I'm trying to represent a dependency diagram. I need to be able to have …

graphics graphviz dot directed-graph subgraph
Creating a draw rectangle (filled with black color) function in Java for a grid

I have created a grid in my program. Below is the code used to create the grid. import java.awt.…

java swing graphics grid paint
How to crop circular area from bitmap in Android

I have a bitmap and I want to crop a circular region from this bitmap. All pixels outside the circle …

android android-layout user-interface graphics
Algorithm to detect intersection of two rectangles?

I'm looking for an algorithm to detect if two rectangles intersect (one at an arbitrary angle, the other with only …

algorithm math graphics geometry separating-axis-theorem
Android SurfaceFlinger

I would just like to ask if SurfaceFlinger is always called for any type of drawing into the screen? Example, …

android graphics surfaceflinger
How to print R graphics to multiple pages of a PDF and multiple PDFs?

I know that pdf("myOut.pdf") will print to a PDF in R. What if I want to Make a …

graphics r plot
Fast rectangle to rectangle intersection

What's a fast way to test if 2 rectangles are intersecting? A search on the internet came up with this one-liner (…

javascript c++ language-agnostic graphics
Calculating a LookAt matrix

I'm in the midst of writing a 3d engine and I've come across the LookAt algorithm described in the DirectX …

math graphics 3d projection
Generate colors between red and green for a power meter?

I'm writing a Java game and I want to implement a power meter for how hard you are going to …

language-agnostic graphics colors interpolation
What does glLoadIdentity() do in OpenGL?

I'm new to OpenGL and I'm a little overwhelmed with all of the random functions that I have in my …

opengl graphics