Skip to content

Instantly share code, notes, and snippets.

@yansern
Last active August 29, 2015 14:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yansern/2ea7077236a1245c397a to your computer and use it in GitHub Desktop.
Image Fill Strategy (XOR Table)

Image Fill Strategy

AND Tall Viewport (<1) Square Viewport (=1) Wide Viewport (>1)
Tall Image (<1) fit-height fit-width fit-width
Square Image (=1) fit-height fit-width/fit-height fit-width
Wide Image (>1) fit-height fit-height fit-width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment