Procházet zdrojové kódy

docs: minor changes

v0lp3 před 4 roky
rodič
revize
f34e9a18eb
1 změnil soubory, kde provedl 2 přidání a 4 odebrání
  1. 2 4
      README.md

+ 2 - 4
README.md

@@ -85,16 +85,14 @@ request = []byte(fmt.Sprintf(requestFormat, dpiX, dpiY, mode, compression, width
 - **N** = 50 (Contrast?)
 - **A** = 0,0,`WIDTH`, `HEIGHT`
 
-Note that `WIDTH` and `HEIGHT` are calculated from plane dimensions
+**NOTE**: `WIDTH` and `HEIGHT` are calculated from plane dimensions because _width_ received from response in [lease phase](#lease) is different from _width calculated_
 
 ```go
 func mmToPixels(mm int, dpi int) int {
-  return int(float64(mm*dpi) / 25.4)
+      return int(float64(mm*dpi) / 25.4)
 }
 ```
 
-**NOTE**: _width_ received from response in [lease phase](#lease) is different from _width calculated_.
-
 Documentation work in progress...
 
 ## Compile