Why do BITMAPS load “upwards”?

前端 未结 2 1006
有刺的猬
有刺的猬 2021-02-18 15:30

If you have a really really large JPG and a BMP embedded on HTML and you load it into Firefox, you will notice that the JPG will load \"downwards\" (paint from left to right, th

2条回答
  •  粉色の甜心
    2021-02-18 16:00

    Bitmap coordinates start at the bottom left of the screen - this makes perfect sense if you think of a graph, you start the origin at the lower left.

    Most graphics devices start at the top left - because raster scanning displays like CRTs started the scan at the top (why?) and LCDs continued the standard

提交回复
热议问题