mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-03 23:16:13 +00:00
Docfix
This commit is contained in:
@@ -209,9 +209,9 @@ class ImageShadowNode extends RenderableShadowNode {
|
||||
renderRect = new RectF(0, 0, (int)rectWidth, (int)(rectWidth / mImageRatio));
|
||||
}
|
||||
|
||||
RectF vbRect = new RectF(0, 0, renderRect.width() / mScale, renderRect.height() / mScale);
|
||||
float canvasLeft = getCanvasLeft();
|
||||
float canvasTop = getCanvasTop();
|
||||
RectF vbRect = new RectF(0, 0, renderRect.width() / mScale, renderRect.height() / mScale);
|
||||
RectF eRect = new RectF(canvasLeft, canvasTop, rectWidth / mScale + canvasLeft, rectHeight / mScale + canvasTop);
|
||||
Matrix transform = ViewBox.getTransform(vbRect, eRect, mAlign, mMeetOrSlice);
|
||||
|
||||
|
||||
@@ -96,15 +96,15 @@ class PropHelper {
|
||||
/*
|
||||
TODO list
|
||||
|
||||
unit relative to
|
||||
em font size of the element
|
||||
ex x-height of the element’s font
|
||||
ch width of the "0" (ZERO, U+0030) glyph in the element’s font
|
||||
rem font size of the root element
|
||||
vw 1% of viewport’s width
|
||||
vh 1% of viewport’s height
|
||||
vmin 1% of viewport’s smaller dimension
|
||||
vmax 1% of viewport’s larger dimension
|
||||
unit relative to
|
||||
em font size of the element
|
||||
ex x-height of the element’s font
|
||||
ch width of the "0" (ZERO, U+0030) glyph in the element’s font
|
||||
rem font size of the root element
|
||||
vw 1% of viewport’s width
|
||||
vh 1% of viewport’s height
|
||||
vmin 1% of viewport’s smaller dimension
|
||||
vmax 1% of viewport’s larger dimension
|
||||
|
||||
relative-size [ larger | smaller ]
|
||||
absolute-size: [ xx-small | x-small | small | medium | large | x-large | xx-large ]
|
||||
|
||||
Reference in New Issue
Block a user